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

m
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
[[File:Couk.png|link=:Category:Webhosting]]
 
 
=Redirecting non-www. Requests=
 
 
HTTP/1.0 301 Page moved
Location: httphttps://www.testing.me.uk/
Content-Length: 0
'''With a blank line at the end (the blank line is important).'''
 
You can download this example here: [[File:index.http.zip]] (Don't forget to unzip and edit the file)
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
 
 
autoreview, Bureaucrats, editor, Interface administrators, reviewer, Administrators
12,291

edits