Virtual Hosts, Subdomains and DNS
Hi - I used to have my web pages hosted by Lycos. Now that i've got my linux box, i've decided to host these myself. After registering with dyndns.org to set up my dynamic IP address, I can see my home page running from my own machine. Great!
I used to also have subdomains set up which I would also like to host on my own machine. So I've set up Virtual Hosts (because i only have one IP address, I am using named based virtual hosts)
The trouble is, I cannot see those Virtual Host pages from another computer, only locally. From playing around with the order of the entries in my httpd.conf file I can make different Virtual Hosts appear, so i figured out that the order in which those virtual hosts appear in httpd.conf file determines which pages is 'default'
So how to see the other pages?
I understand I may need to do something with DNS, but I dont know how and I dont know why. I've spent ages on google, installed Webmin, registered with every forum on the planet, read all the DNS/BIND docs i can find, but I cannot figure it out.
so say i have my web site --> www.mywebsite.com and i have two virtual hosts set up virtualhost1.mywebsite.com and virtualhost2.mywebsite.com, how do i set up my machine so i can access my virtualhost pages from anywhere other than my own machine?
Can someone help?