Sign in with
Sign up | Sign in
Your question

Virtual Hosts

Last response: in Networking
Share
January 23, 2011 8:14:59 PM

Hey,

Currently I am hosting 2 websites (well, same website really) on 2 computers in my house, both on the same external IP via NAT on my router.

One website is www.domain.tld and references the computer 192.168.1.80 on my internal network.
The other site is www.domain.tld: port and references the computer 192.168.1.81 on my internal network.

I'm looking for a better way to do this other than creating a link to another port, and I've already registered a sub domain but I'm confused on how to set up virtual hosts and DNS records don't let you specify port numbers.

Some way or another, I would like to have my main domain reference the server at 192.168.1.80 just like it does now, but then rather than having a separate port number, having a subdomain (sub.domain.tld) reference the server at 192.168.1.81 on my network.

Both computers are using HFS 2.2f.

http://www.rejetto.com/hfs/



Is this possible to set up without Apache?

Thanks,
Raybob

More about : virtual hosts

January 23, 2011 11:39:37 PM

But that doesn't help because I have 2 different web servers, on the same address, and neither one uses Apache.
!