For various reasons, we may be forced to redirect our website to a new destination. In this manual we will show you how to do it using an "index.html" file.
The user will have accessed 'swhosting.com' and will be redirected to 'swhosting2.com' as the browser URL will change automatically.
First, you must have a domain, a hosting service, an FTP account created and the Filezilla client. You can consult our manuals for more information (FTP account management, Create Hosting service...).
To start, you must create a text document on your computer. Once done, enter these lines of code:
1 Create a text document on your computer with the following lines of code, substituting the domain "manuals.com" for the domain you want the user to address.
<head> <meta http-equiv="Refresh" content="0;url=http://www.manuales.com"> </head> <body> </body>
2 Once created, save the file by calling it "index.html".
3 Upload the file to your server by FTP to the folder "data / web"