Sub Domains & Multiple Domains (Apache)
I have successfully set up an Ubuntu Web Server. It runs ddclient to update my IP address at zoneedit.com, and I have verified that it is accessible via the internet (outside of my home network). My next goal is to set up one or two sub domains using mydomain1.com, and to host another website using mydomain2.com. I know it has something to do with virtual hosts, but I have been confused in my research. I guess in a previous version of Apache, the file to change is httpd.conf. However, in Apache2, it doesn't appear to be that file any longer. I have posted a copy of the file which I think it is, 000-default:
Any help would be greatly appreciated.
Thanks in advance,
I'm afraid I can't say if that's the correct file as I suspect it to be distro dependent.
However, you can always give it a go.
A virtual host setting would look something like this:
Note that I route external traffic to 192.168.0.2, and any local traffic is to 192.168.1.1
|All times are GMT -5. The time now is 01:09 PM.|