PDA

View Full Version : Multiple DNS on one computer




ViViDboarder
Oct 23, 2009, 10:39 AM
I'm not sure if this is really possible, but I feel like it should be in some way.

Here is what I have. I have an internet service with one dynamic IP. I have an iMac with websites hosted on it for two different users. I have a DynDNS account so I can access my computer easily.

The issue is that I have to put in the address and then /~username after. Is it possible to set up so one DNS goes to /~user1 and the other goes to /~user2?

Would this require a change on my router? EDIT: Just thought of something... Could this require me to host TWO different web servers? One out of each homefolder and then port forward them from my router?

Also, I now have a .com that I would like to route the same way, I don't really think paying 30 bucks for DynDNS to support my GoDaddy account so I'm thinking of using a free service instead. Ideas?



thederby
Oct 23, 2009, 10:58 PM
http://www.google.com/search?client=safari&rls=en&q=apache+host+headers&ie=UTF-8&oe=UTF-8

ViViDboarder
Oct 24, 2009, 12:25 AM
http://www.google.com/search?client=safari&rls=en&q=apache+host+headers&ie=UTF-8&oe=UTF-8

Thanks, I'll look into that. At first glance seems promising.