301 redirects, name.com and nginx

"Please leave a message at the beep, we will get back to you when your support contract expires."

Moderators: phlip, Moderators General, Prelates

quantropy
Posts: 179
Joined: Tue Apr 01, 2008 6:55 pm UTC
Contact:

301 redirects, name.com and nginx

Postby quantropy » Mon Dec 12, 2016 6:54 am UTC

I've registered a domain with name.com, and use their domain redirection to do a 301 redirect to a domain hosted by a different company. However, within the last few weeks this seems to have stopped working, in that only the bare domain is redirected, if anything follows it then a 404 is generated. (i.e. domain.tld is redirected to newdomain.tld, but domain.tld/about.html gives a 404 response). Name.com say that the redirection of the bare domain name is working, and any other problems must be at the destination server, but if the name.com servers are issuing the 404 response then clearly this is nonsense.

Now in Apache a 301 direct is straightforward enough

Code: Select all

RewriteRule  (.*)          http://www.newdomain.tld$1
but it could be done incorrectly so that only the bare domain is redirected.
However, name.com seem to use nginx. So my questions are:

1:What could name.com have done to their nginx settings to cause this? and
2:Is it likely that they would have done this? Presumably any changes would have affected a large number of sites which would suddenly have stopped working, but I don't see any howls of protest.

Return to “The Help Desk”

Who is online

Users browsing this forum: No registered users and 7 guests