zillo32 / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Redirect to the site domain #502

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If you set up a domain for your website, the site becomes available from two 
locations:

www.yourdomain.com
somethingelse.appspot.com

Using Google Apps, it's possible to have the site accessible from many more 
domains.

There should be an option so that if the website is accessed from any domain 
other than the domain specified in the site configuration, the site 
automatically redirects to the appropriate domain.

E.g., if you went to somethingelse.appspot.com/blog/blah it would redirect to 
www.yourdomain.com/blog/blah

Original issue reported on code.google.com by markd...@gmail.com on 29 Jul 2011 at 5:07

GoogleCodeExporter commented 8 years ago
Also it's possible to use naked domain in google apps domain control so
yourdomain.com will redirect by Google to www.yourdomain.com

Original comment by kinyelo@gmail.com on 29 Jul 2011 at 8:36

GoogleCodeExporter commented 8 years ago
There's an issue about naked domain redirection: URL http://netrat.eu/404 will 
be redirected to http://www.netrat.eu , not http://www.netrat.eu/404

% telnet netrat.eu 80
Trying 216.239.32.21...
Connected to netrat.eu.
Escape character is '^]'.
GET /404 HTTP/1.0
Host: netrat.eu

HTTP/1.0 302 Found
Location: http://www.netrat.eu/
Date: Mon, 26 Sep 2011 05:59:18 GMT
Content-Type: text/html; charset=UTF-8
Server: ghs
Content-Length: 218
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN

Original comment by net...@netrat.eu on 26 Sep 2011 at 6:40