0
votes
1answer
86 views

lighttpd Regex for automatic forwarding of subdomains

I have been looking round and I have not found a good way to automatically set the document root for domains automatically. For example: In the DNS, *.mydomain.com points to mydomain.com And in the ...
0
votes
1answer
116 views

Nginx config rewriting subdomain name to 1st URI segment

I'm unable to do the following nginx.conf rewrite: test.mysite.info to: mysite.info/test here's what i've tried: server { server_name test.mysite.info; rewrite ^ ...
2
votes
2answers
98 views

Possible to have multiple IP addresses for a server that point to different doc roots?

Ok, so my set up is as follows: I own a domain, let's call it domain.com. I have an amazon AWS account with one micro-instance (free tier). domain.com and www.domain.com both point to a static IP ...
-2
votes
3answers
2k views

Setting up subdomain on one .com to point to the subdomain on another .com shows cPanel welcome [closed]

I have 2 domains on 2 different servers, using two different sets of nameservers. In the DNS settings for the first TLD, lets say foo.com, I have the @ pointing to server1 which is running a specialty ...