Economical Cloud Hosting Plans
India's Leading Cloud
Hosting Company
Knowledge Base

How to Set Redirection for the Websites Hosted on Windows and Linux Servers?

You can set redirections on websites hosted on Linux and Windows Servers.

Through Windows Servers:

There are three ways of doing URL redirects.

1. HTTP Redirects From IIS:

Open IIS (Internet Information Services) Manager from the start menu. Scroll to Administrative Tools and select IIS Manager. In the connections pane expand the server name and the site. Navigate to the domain. Click twice on the HTTP Redirect Option. Select the Redirect Request and mention the URL to which you wish to redirect the site to. You then get a few options

a. Redirect all request to exact destination

b. Redirect requests to content of this directory only (without sub-directories)

Status Code: Select the status code 301, 302 and 307 and click on Apply after selecting the appropriate option.
2. Redirect From Website Panel:

Log in and click on Web > websites. Choose Home Folder tab.

Select Redirection to URL. Paste the URL to which you want to redirect the contents. Select the appropriate option

a. Redirect all requests to exact destination

b. Redirect only the content of this directory.

3.  Redirects From URL Rewrite Module:

You can create custom rewrite rules which will enable you to perform redirects, send responses, stop HTTP) requests. You can refer the Microsoft guide to create and write your rules.
In Linux Servers:

To set up a 301 redirect or a permanent redirect you must access your website files. Log in to your account via File Transfer Protocol(FTP).

Go to .htaccess in the public_html. It is the web directory of the website that you wish to redirect from.
Add Redirect 301/ old-directory-name/ new directory -name .

You may also 301 redirect to a new domain in the same way.
After adding the rule save the .htaccess file. The same process applies for every Linux servers.

CloudOYE is a leading cloud computing solutions on Cloud Server Hosting & Dedicated Servers Hosting. Call our technical experts at 1800 212 2022 or mail us at

Was this answer helpful? #4 #4

Related Questions

Reduce Your Current Cloud Cost


How to Ensure ROI from Cloud Computing

This whitepaper sets out details about various key performance indicators

Unleash New Boundaries With Cloud CDN

Tough competition in the online business has alerted CIOs across the globe.


Cloud Computing Demystified

It is a computing paradigm, wherein a huge cluster of systems are interconnected .

Download Now >

What is CloudOYE?

Join 100000 + IT pros on our updates
  • Cloud India
  • Cloud India
Cloud India