Tipi di hosting
Il tipo di hosting definisce il comportamento del sito web. Plesk supporta tre tipi di hosting: Hosting del sito web, Inoltro e Nessun hosting.
Hosting di siti web
Il tipo di hosting del sito web vuol dire che un sito web si trova fisicamente sul server.
Per il tipo di hosting del sito web si può specificare:
-
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. -
Radice del documento. Il percorso della directory dove tutti i file e sottodirectory del sito saranno conservati. È possibile usare la directory predefinita
httpdocs
o specificare una directory diversa.
Inoltro
You can point one or more registered domain names to the same physical
website, by using 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.
Inoltro Standard
Con l’inoltro standard, gli utenti che sono stati reindirizzati verso un altro URL possono visualizzare l’URL di destinazione nella barra degli indirizzi del browser.
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 the visitors’ point of view, the response code does not matter: in both cases, visitors will be redirected to the destination URL. For search engines, the code defines how they should treat the redirected site and affects search engine rankings.
-
Spostato permanentemente (codice 301).
Usare questo tipo di reindirizzamento se desideri conservare i risultati del motore di ricerca del tuo sito dopo averlo spostato permanentemente verso un altro indirizzo.Ad esempio, seexample1.com
è stato spostato permanentemente verso il dominioexample2.com
, i risultati saranno divisi traexample1.com
eexample2.com
– i crawler del motore di ricerca li tratteranno come sito web unico. -
Spostato temporaneamente (codice 302).
L’utilizzo di questo tipo di reindirizzamento è consigliato quando il dominio di destinazione è usato temporaneamente, per esempio, quando si collauda una nuova versione del sito con veri visitatori pur conservando intatta la vecchia versione. Se imposterai questo reindirizzamento per un dominio di destinazione appena creato, il dominio non sarà indicizzato dai motori di ricerca.
Inoltro Frame
With 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.