Hébergements Web - Site accessible que par le cluster
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Frage

Site accessible que par le cluster

Von
CalvinG
Erstellungsdatum 2020-08-11 20:23:26 (edited on 2024-09-04 12:50:57) in Hébergements Web

Bonjour,

j'ai acheté un nom de domaine et un hébergement.
Mon site est deja installé dans le dossier "www"
Malgrés tout ça, lorsque je vais sur l'adresse www.pixhell.fr, je tombe sur une page "Félicitations ! Votre domaine xxxxxx a bien été créé chez OVH"...

Le seul moyen que j'ai pour visualiser mon travail c'est sur le cluster

Savez ce que je dois faire pour que mon site soit disponible sur www.pixhell.fr et non sur le cluster ?

merci.


13 Antworten ( Latest reply on 2020-08-12 18:43:50 Von
kyodev
)


Savez ce que je dois faire pour que mon site soit disponible sur www.pixhell.fr et non sur le cluster ?

Bonsoir @CalvinG

Chez moi c'est OK à l'adresse : http://www.pixhell.fr

```text > je tombe sur une page "Félicitations !

c'est Ok, mais bricolage Ovh quand ils livrent des domaines, tu dois attendre 1h voire 2 pour voir l'installation sur l'hébergement (propagation DNS)

par contre le domaine root n'est pas installé dans le multisite:

```text
dig +nocmd +noall +answer pixhell.fr A @dns109.ovh.net
pixhell.fr. 3600 IN A 213.186.33.5
dig +short -x 213.186.33.5 -> redirect.ovh.net
```

de même il n'y a aucun certificat installé

https://docs.ovh.com/fr/hosting/multisites-configurer-un-multisite-sur-mon-hebergement-web/
https://docs.ovh.com/fr/hosting/les-certificats-ssl-sur-les-hebergements-web/ ```

le domaine root ? c'est a dire ?

comme indiqué: pixhell.fr



Effectivement, la page n'existe pas quand je l'a tape mais pourtant il est bien present dans multi site :/
Le certificat est installé normalement maintenant

Merci pour votre aide

Actuellement, https://pixhell.fr ne renvoie nul part et je n'arrive pas à regler cela...

tu as deux hébergements dont un que tu as renommé pixhell.fr

dans l'onglet Infos générales, quel est le type d'offre de l'autre, en dessous: un start10M ?
si oui, le renommer `nePlusToucher`

sur quel cluster est-il?

Oui c'était bien un start10M mais je l'ai résillier aujourd'hui justement

erreur donc, une galère Ovh
mais la résiliation ne sera pas effective avant un moment, et si tu veux les mails de l'hébergement et ne pas perdre le mail existant: contacter le support :(

renommer donc en **`nePlusToucher`**

pour l'hébergement cluster28:
multisite:
modifier la ligne avec pixhell.fr, inutile de changer quelque chose, valider
ça devrait corriger la zone DNS
attendre 5m
re-modifier, activer SSL
attendre 5mn
régénérer le SSL
attendre 1 h

C'est bon, je crois bien que tout marche !

oui c'est ok
mais ton .htaccess serait mieux avec ça en tête, en remplacement de tes lignes:
```text
RewriteEngine On

## no-www -> www
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L,NE,QSA]

## http -> https
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L,NE,QSA]
```

Super c'est fait
Merci beaucoup !

```text parfait:
```text
curl --head -XGET --user-agent Firefox http://pixhell.fr/
HTTP/1.1 301 Moved Permanently
Location: https://www.pixhell.fr/ (charset=iso-8859-1)

curl --head -XGET --user-agent Firefox http://www.pixhell.fr/
HTTP/1.1 301 Moved Permanently
Location: https://www.pixhell.fr/ (charset=iso-8859-1)

curl --head -XGET --user-agent Firefox https://pixhell.fr/
HTTP/2 301
location: https://www.pixhell.fr/ (charset=iso-8859-1)

curl --head -XGET --user-agent Firefox https://www.pixhell.fr/
HTTP/2 200 (charset=UTF-8)

location utilisée:
https://www.pixhell.fr/
```
avant:
```text
locations utilisées:
https://pixhell.fr/
https://www.pixhell.fr/
http://www.pixhell.fr/
``` ```