Guides and tutorials

Hundreds of tutorials and step by step guides carefully written by our support team.

How to redirect your web page to another using the index.html file

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.

Will it be reflected in the browser?

The user will have accessed 'swhosting.com' and will be redirected to 'swhosting2.com' as the browser URL will change automatically.

What do I need to upload an index.html file?

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...).

How do I create the index.html file?

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"

More than 2000 m² of own facilities and Data Centers in Spain
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.
More than 2000 m² of own facilities and Data Centers in Spain
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.