Greetings,
I was working on my server yesterday, and I broke the virtual server setup. I had about 10 domains hosted on my Ubuntu server, and I was getting warnings when starting. When I tried to fix it, Apache2 wouldn't start at all. In the end, I had to delete all of them which wouldn't be a problem, but I can't get them set back up properly. The server's main domain is pr0gr4mm3r.net. I have a few other domains pointed there as well as several subdomain names that are used.
These are the two virtual server entries in my config file:
Code:
<VirtualHost *:80>
DocumentRoot "/home/andrew/public_html/"
ServerName pr0gr4mm3r.net
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "/home/andrew/beta_html"
ServerName beta.pr0gr4mm3r.net
</VirtualHost>
Even with just those two simple entries, it won't work. I have even tried it with two separate domain names. The thing that's weird is that you can type
Home Page - Pr0gr4mm3r.net, and it still goes to the same place. I do use Webmin to set them up, but I am able to edit the config files directly.
Any suggestions? Thanks in advance.