Welcome Guest | Login

I do not want my domain.com to automatically redirect to www.domain.com

I'm not sure how to fix this, and would appreciate some insight:

Whenever I visit http://domain.com, no redirects occur and I stay there.

But, when I go to http://domain.com/apage, the very first thing that occur is a HTTP 301 and I get directed to: http://www.domain.com/apage.

How can I stop this behaviour?

In fact, I would actually prefer the reverse. If I go to http://www.domain.com/apage, it should 301 redirect to http://domain.com/apage.

(I agree with http://jyte.com/cl/swww)

2007-08-14 04:12 PM

Is this a Rails app?  On FastCGI?  Paste in your .htaccess file and we'll help you out.  Else, contact support because they'll need to change your vhost for mongrel.

2007-08-14 06:23 PM

William,

This is not any app, just a few static pages I host.

Thank you for the response.

2007-08-15 01:08 AM

Hi Droux,

You may contact support and this issue will be taken care of.

2007-08-15 01:21 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up today!