Hosting Types¶
The hosting type defines the website’s behavior. Plesk supports three types of hosting: Website hosting, Forwarding, and No hosting.
Website Hosting¶
The Website hosting means that a website is physically located on the server.
For the website hosting type you can specify:
Document root. The location of the directory where all files and subdirectories of the site will be kept. You can use the default directory
httpdocs
or specify another directory.Preferred domain. Typically, any website is available on two URLs: with the www prefix (like in
www.example.com)
and without it (like inexample.com
). We recommend that you always redirect visitors to one of these URLs (typically to the non-www version). For example, after you set the Preferred domain to the non-www version (example.com
), site visitors will be redirected to this URL even if they specifywww.example.com
in their browsers.Plesk uses the search engine friendly HTTP 301 code for such a redirection. This allows preserving search engine rankings of your site (preferred domain). If you turn off the redirection by choosing None, search engines will treat both URL versions (www and non-www) as URLs of different sites. As a result, rankings will be split between these URLs.
Forwarding¶
You can point one or more registered domain names to the same physical
website, by using the domain name forwarding. This allows automatic
redirection of visitors from the URL they specify in a browser to a site
with a different URL. For example, visitors of the
site www.example.com
can be redirected to www.somedomain.tld
.
There are two types of forwarding in Plesk: the standard and frame
forwarding.
Standard Forwarding¶
With the Standard forwarding, users who have been redirected to another URL can see the destination URL in the browser address bar.
Depending on how long you intend to use the redirection, you can select the type of redirection – Moved permanently (code 301) or Moved temporarily (code 302). These are HTTP response codes which Plesk sends to browsers to perform the redirection. From visitors’ point of view, the response code does not matter: in both cases they will be simply redirected to the destination URL. For search engines, the code defines how they should treat the redirected site and affects search engine rankings.
Moved permanently (code 301).
Use this redirection type if you want to keep search engine rankings of your site after moving it permanently to another address.For example, ifexample1.com
has been moved permanently to the domainexample2.com
, the rankings will not be split betweenexample1.com
andexample2.com
– search engine crawlers will treat them as a single website.Moved temporarily (code 302).
Use this redirection type when the destination domain is used temporarily, for example, when you are testing a new version of your site with real visitors while keeping the old version intact. If you set this redirection for a newly created destination domain, this domain will not be indexed by search engines.
Frame Forwarding¶
With the Frame forwarding, when visitors are redirected to another site, the address bar of their browsers continues to show the source URL. Thus, visitors remain unaware of the redirection. This is called frame forwarding as the index page of the source site contains a frame with the destination site.
Domains Without Web Hosting¶
You can switch off web service and use only email services under that domain (Websites & Domains > domain name > Hosting Settings > the Change link near Hosting Type > the No web hosting option).