Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

Webhosting Redirecting: Difference between revisions

Content deleted Content added
Andy (talk | contribs)
No edit summary
AA-Andrew (talk | contribs)
 
(2 intermediate revisions by the same user not shown)
Line 28: Line 28:


HTTP/1.0 301 Page moved
HTTP/1.0 301 Page moved
Location: http://www.testing.me.uk/
Location: https://www.testing.me.uk/
Content-Length: 0
Content-Length: 0
Line 45: Line 45:
Do contact support if you need help, as they can do this for you.
Do contact support if you need help, as they can do this for you.


=Redirecting to another website=
==Other Webhosting pages==
The above explains how to redirect yourdomain.com to www.yourdomain.com, bit if you want to redirect yourdomain.com and www.yourdomain.com to a completely different website or page, then you can do a similar thing to the above.
<ncl style=bullet maxdepth=5 headings=bullet headstart=2 showcats=1 showarts=1>Category:Webhosting</ncl>
# Create your index.http file as above, but change the 'Location' the the web site or web page that you want to redirect to

# Upload the index.http to your website
[[File:aa-button.png|link=http://aa.net.uk/domains-webspace.html|Webhosting Service page on our main website]]
## when you FTP you want to add the file to the 'root' as well as the 'www' folder - this will then make sure that the redirect will be used whether you go to your domain with or without the www prefix.
## The easiest way to do this is to FTP using the username www.yourdomain and then repeat the upload with the username without the www. prefix