NewonNet
07-10-2001, 05:53 AM
I can go to anysite on my server with www.adomain.com but cannot do it with just adomain.com
http://www.adomain.com works find
http://adomain.com will take you to the main site on the IP that adomain.com resides on.
Both method works fine for the main site on the ip address.
Strange but bothersome.
I know that both method should work. Does anyone know what to change?
AbbasJaffarali
07-10-2001, 06:11 AM
In the Site Setup for www.adomain.com, you need to type adomain.com in the WebServer Aliases field
-Abbas
Aloha
under site settings
under the "Web Server Aliases"
I usually add in the input box:
domain.com,www.domain.com,mail.domain.com
I do the same thing for the Email Server Aliases input box as well
hope it worked for ya if ya read AbbasJaffarali first ?
NewonNet
07-10-2001, 09:18 PM
Thanks guys,
You guys are great. I knew it was easy as that but for the life of me, couldn't think of it.
iVersit
07-11-2001, 12:17 AM
For those interested, you can also make a record in DNS for domain.com and not make a virtual site for it. Then add www.domain.com and a PTR record for the same. Create the virtual site for www.domain.com and you're all set.
Regards.
NewonNet
07-11-2001, 02:03 AM
I do have these entries in my DNS but still doesn't work.
mydomain.com IP
www.mydomain.com IP
IP/24 www.mydomain.com
I guess that it only work with webserver alias.
Eagle
07-11-2001, 04:46 AM
Try this
ADD VIRTUAL:
Hostname: www
Domain: domain.com
Web server: domain.com
Email: domain.com
DNS:
host: BLANK
domain: domain.com
IP: IP
reverse?: YES!
host: www
domain: domain.com
IP: IP
reverse?: NO!
MX:
The 3rd field, right above the scroll down:
www.domain.com
If you REALLY want them to use mail.domain.com for a mail, I suggest you create a CNAME record...
have mail.domain.com point to domain.com