osc-user Posted April 14, 2004 Posted April 14, 2004 I know google and google PR treats mydomain.com and www.mydomain.com as two different urls. so what I want to do is configure it such that both mydomain.com and www.mydomain.com points to www.mydomain.com I remember coming across a way to do this. It was fairly simple but I can't find it again. can someone point me in the right direction? an example of this is motorola.com ...it points to www.motorola.com thanks! James
larkost Posted April 14, 2004 Posted April 14, 2004 All you have to do is set your dns entries correctly, so they both point at the same place.
osc-user Posted April 14, 2004 Author Posted April 14, 2004 They are the same domain and point to the same place. but the url looks different: http://mydomain.com/ vs http://www.mydomain.com/ I want them both to be the latter.
larkost Posted April 14, 2004 Posted April 14, 2004 Assuming you are on Apache, then you need to create name-based virtual domains for both, and set the domain name for both to the one you want. Documentation can be found over at Apache.org. If you are using some other server... then good luck...
osc-user Posted April 14, 2004 Author Posted April 14, 2004 ugh. I found this thread which helped me understand how things work a little more, but didnt' help me any in deciding what to do. http://www.webmasterworld.com/forum12/879.htm ...I'm on a shared/vitual hosting plan so I don't believe I have write access to the httpd.conf file for name based virtual hosting configuration myself.
osc-user Posted April 14, 2004 Author Posted April 14, 2004 it turns out my cheapo vitual hosing service is limiting my redirects. and I certainly don't have mod_rewrite access. I think either of those would have done what I wanted.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.