why my www.mydomain goes to a different page.
i had created a *.mydomain.com cname yesterday. i thought that would do it. is the wild card going to do this or i need to make a www cname.
This is a discussion on why my www does not go to the same place? in the VPS & Dedicated forum
why my www.mydomain goes to a different page.
i had created a *.mydomain.com cname yesterday. i thought that would do it. is the wild card ...
why my www.mydomain goes to a different page.
i had created a *.mydomain.com cname yesterday. i thought that would do it. is the wild card going to do this or i need to make a www cname.
ok i took the furthur step of going to the httpd.include of my domain and added
ServerAlias *.mydomain.com
but it seems that i might have done something wrong. because i just changed the www.mydomain.com to *.mydomain.com
will this work. do i have to do anything else?
I would suggest using the following:
A. In your DNS:
* A record for mydomain.com => your site's IP
* CNAME or A record for www.mydomain.com (I prefer using an A record, but either will work)
In Apache config:
The actual syntax of your <VirtualHost> directive may vary based on your control panel, Apache version, etc. You should leave everything as it is, just making sure that your specify the server name and aliases appropriately.Code:<VirtualHost 12.34.56.78> ServerName mydomain.com ServerAlias www www.mydomain.com ... </VirtualHost>
--Jason
thanks jason.got it
Copyright © 2011 JaguarPC.com
Bookmarks