0
votes
1answer
50 views

Two apps on Apache server with URI

I need to install a server with Apache 2.2 on Linux and I need to do two VirtualHosts differentiated by URI. But with only one domain name and one ip address. And I can't use Alias. I tried ...
0
votes
0answers
30 views

Drupal Domain-Access Virtualhosting

I need help setting up a virtualhost configuration for a Drupal website. I am trying the Domain Access module to create sub-sites on my Drupal site. The Drupal site is on a VPS server @ IP: ...
0
votes
2answers
44 views

apache virtualhost to be limited to one domain on the same server

I have several domains running under apache. Most of theme they do not have yet virtualhost. My problem is that all this not registered domains by apache are getting redireted to the setup domain. How ...
0
votes
2answers
207 views

Apache virtualhost strange behaviour

I have multiple domains linked via A-Record to my server. For all of them I created a virtualhost. Some of them run with and without of www. Some have additional subdomains and some have wildcard ...
1
vote
2answers
98 views

how do I avoid spam domains to point to my site or IP hosting tomcat application

I can across a issue where I saw some xyz.com is pointing to mydomain.com. I am not using Apache, nor IIS but Tomcat 7 directly. How to I avoid such other spam domains pointing to mydomain.com? I ...
1
vote
2answers
290 views

making all subdomains use same document root with nginx

I have in the *.conf file for my domain the following: server { listen 80; server_name domain.tld; access_log /var/log/nginx/domain.tld.accesslog; root /var/www/domain.tld; index ...
1
vote
1answer
282 views

In postfix how can I conditionally enforce check_sender_access

I am servicing 2 virtual domains: domain1.org , domain2.org. I want to enforce the following policy: If a client connects from an IP address in $mynetworks then I want to allow only mails for which ...
2
votes
1answer
144 views

Apache redirect domain and all subdomains

I have an Apache configuration setup with multiple virtual hosts as subdomains. I have just purchased a new domain name, and I want all requests to this domain name to redirect to the new one, ...
0
votes
2answers
428 views

Using naked domain in apache, no “www” on domain in httpd.conf

Incredibly there is no good tutorial or easy reference guide for using naked domains (no subdomain) as the primary URI online that I could find. I'm trying to configure this to happen in my ...
2
votes
1answer
281 views

What Apache server configuration(s) do I need to map directory name to domain?

Say I have a folder ~/apache/ that contains two website directories: www.website1.com www.website2.com Right now I have things set up using the sites-available and sites-enabled configurations which ...
2
votes
2answers
2k views

How to setup virtualhost for domain on CentOs 6.2 using apache2?

First time LAMP and domain setup on CentOs. Previous experience of this is in Ubuntu. Working on a dedicated server package of my local ISP. They installed default CentOs 6.2 and redirected my domain ...
-1
votes
1answer
2k views

How to set up server/domain name correctly in hosts file with HTTPS

I am trying to do local network and I am using these kind of types of network. 1) Main server which connects to internet with static IP 2) Second computer connected to first one locally with address ...
0
votes
0answers
102 views

virtual hosting multiple .tk domains. Possible?

I have been trying to setup a couple of .tk based domains and am having a lot of trouble getting two to serve. I can easily get either site serving to both domains but not each site to each domain and ...
3
votes
3answers
162 views

is it possible to host 2 sites on a single domain but 2 different IPs?

I have Server A which hosts www.mysite.com I want to create and host a site on Server B, but configure it to: www.mysite.com/theSiteAtServerB TheSiteAtServerB is a completely different site from ...
0
votes
2answers
1k views

Running multiple virtual hosts

I want to run multiple domains on my server (only two at the moment). I already changed both nameservers to point to my server. In the apache2.conf file I enabled "included sites-enabled". My ...
0
votes
1answer
92 views

Single certificate for a single domain & multiple domains - Apache

I am hosting multiple websites on a server with a single IP address. I have a single certificate for one of the domain names. Is there a way to configure Apache so that the certificate applies only to ...
0
votes
3answers
2k views

How to redirect request for specific domain to a specific web application listening on a specific port?

I have apache2 running on the port 80 and other application server running on 81. I would like to redirect traffic only for one specific, selected domain (mydomain.com) to server running on the port ...
1
vote
0answers
190 views

Redirect incoming traffic for a domain to another local ip on same host

I have a server running Win 2008 R2, on that machine a run virtualbox where I run multiple ubuntu instances for webservers. I also have a router that redirects all traffic on port 80 to that machine. ...
0
votes
1answer
144 views

Virtualhost in Apache (wildcard and static domain)

I have some odd situation. I wan to make different DirectoryRoot for one domain. example.com -> /dir1 www.example.com -> /dir1 *.example.com -> /dir2 I'm trying settings with NameVirtualHost and ...
1
vote
3answers
859 views

domain redirection with virtualhost

I have setup a domain, I and I would like to point that domain onto a different webserver. lets say: domain 1: www.test.com on server 1 domain 2: www.test1.com on server 2 I would like to forward ...
0
votes
2answers
228 views

Virtualhost adding another domain to server

I'm trying to add another domain to my server. I followed this : http://www.Debian-administration.org/articles/412 Basically, I created a new file called www.site.com in the ...
0
votes
2answers
540 views

Apache subdomain not working: uses real domain

Let's say I have domain.com and sub.domain.com. Domain.com's root should be /var/www/domain_com/ and sub.domain.com's root should be /var/www/domain_com/sub/. ...
0
votes
2answers
32 views

sub domain help

UPDATE 2: I've create a new "A record" instead as I couldn't get the "cname record" to work. I copied the existing: www - A - server_ip_address and just created a new test - A - ...
0
votes
1answer
561 views

WAMP server hosting and domain/VH

So after a lot of frustration, I finally got WAMP server to work. I can access my webpage both from computers in my local network using the ip address of my machine the server is hosted on and also on ...
1
vote
1answer
2k views

Apache: Reverse proxy the whole domain

I asked the same question a while ago, but I guess I didn't put my question right. I'm trying to reverse proxy one whole virtual host domain to a subdirectory of another virtual host, something like ...
3
votes
2answers
3k views

Apache : Making one virtual host subdomain/subdirectory of another virtual host

My setup is a bit awkward. I've got http://sub.main.com mapped to my server's IP but not the http://main.com. I am running two sites on my server(using different web frameworks). For each of those ...
0
votes
1answer
17 views

virtualhosts usernames length

We operated a dedicated server a while back, and every account had a "temporary link" that looked like this: http://xx.xxx.xx.xxx/~sometext ~sometext was limited at 8 characters I believe. We also ...
4
votes
2answers
329 views

2 Domains on 1 server

I'm running Debian and I don't have a control panel or anything. Right now, I'm simply pointing my domain to the server IP and it's going to the root, but I am looking to add another domain, so how ...
0
votes
3answers
350 views

Server unreachable without www

My server is unreachable without "www." prefix, even when trying it with ping. The DNS entry looks like this: $TTL 86400 @ IN SOA ns1.first-ns.de. postmaster.robot.first-ns.de. ( 2011010600 ...
0
votes
1answer
162 views

301 Redirect : domain.fr --> www.domain.com and www.domain.fr --> www.domain.com

I'm using a Apache2 server with Passenger for my Rails app. I dunno how to create a 301 redirect in my VirtualHost as : domain.fr --> www.domain.com www.domain.fr --> www.domain.com I've tried : ...
1
vote
1answer
151 views

Set up virtual host for external domain?

I have a client who intends to redirect all traffic for their domain to my server. how do I configure my server to in turn direct all that incoming traffic from that particular redirection onto a ...
1
vote
1answer
719 views

Setting Up Multiple Domains (plus wildcard subdomains) to Point to the Same Site/VirtualHost

I have my primary domain with wildcard subdomains setup already. username.maindomain.com and maindomain.com I want to provide my users with additional domains that they can select. additional1.com, ...
9
votes
5answers
30k views

How to find all hostnames in DNS attached to one IP?

If I have multiple hosts configured on one machine (a la apache's VirtualHosts), how can I do a lookup on the IP and find all domains configured to reach it? For example, I have several web and email ...