-
im completely stuck on trying to create subdomains. This is what I have so far in my Virutal Hosts:
<VirtualHost *:80>
ServerAlias www.gerbitz.nextmillenniumhosting.com gerbitz.nextmillenniumhosting.com
ServerAdmin [email protected]
DocumentRoot /gerbitz/
ServerName gerbitz.nextmillenniumhosting.com
ErrorLog logs/nextmillenniumhosting.com-error_log
CustomLog logs/nextmillenniumhosting.com-access_log common
# ScriptAlias /cgi-bin/ /home/sgerbitz/public_html/cgi-bin/
# ScriptAlias /omail/ /omail/
</VirtualHost>
For some reasons when I restart apache, I get the document for this to show as the main.
for my hosts log, i have:
66.235.205.149 nextmillenniumhosting.com
66.235.205.149 gerbitz.nextmillenniumhosting.com
Have I missed something?
-
This a 2 years old thread!! Don't reply to old thread please! Create your own thread if you have a question!
-
Sigh. There seems to be a few around today. Another new thread created, appropriate titled applied and moved.
-
I'm not sure what you want...
Do you want 2 different websites running on the same ip address?
Did you also add the subdomains to your DNS?
Where's your default site pointing to?
Are you using Apache 2.0.x or 1.3.x?