Bonjour à tous,
J'ai acheté un VPS et j'y ais mis mon Prestashop, j'ai relier le DNS de mon nom de domaine à mon VPS mais quand je met le nom de mon site internet j'arrive bien sur mon VPS mais l'URL ce change et deviens l'adresse IP de mon VPS, j'ai fait cette configuration dans les sites-available de apache :
__
_# The ServerName directive sets the request scheme, hostname and port that_
_# the server uses to identify itself. This is used when creating_
_# redirection URLs. In the context of virtual hosts, the ServerName_
_# specifies what hostname must appear in the request's Host: header to_
_# match this virtual host. For the default virtual host (this file) this_
_# value is not decisive as it is used as a last resort host regardless._
_# However, you must set it for any further virtual host explicitly._
_ServerName www.mysite.com_
_ServerAdmin contact@mysite.com_
_DocumentRoot /var/www/html/_
_# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,_
_# error, crit, alert, emerg._
_# It is also possible to configure the loglevel for particular_
_# modules, e.g._
_#LogLevel info ssl:warn_
_ErrorLog ${APACHE_LOG_DIR}/error.log_
_CustomLog ${APACHE_LOG_DIR}/access.log combined_
_# For most configuration files from conf-available/, which are_
_# enabled or disabled at a global level, it is possible to_
_# include a line for only one particular virtual host. For example the_
_# following line enables the CGI configuration for this host only_
_# after it has been globally disabled with "a2disconf"._
_#Include conf-available/serve-cgi-bin.conf_
__
_ Order allow,deny_
_ Allow from all_
_ # New directive needed in Apache 2.4.3: _
_ Require all granted_
__
__
Mais rien n'y fait j'ai toujours le même problème, si quelqu'un peu m'aider ce serais super :) Merci d'avance
Domaines - Redirection apache vers nom de domaine
Related questions
- Création de sous-domaine
99339
05.03.2017 00:06
- Délai activation nom de domaine après achat
62504
05.06.2017 12:51
- Transfet d'un nom de domaine d'un compte à l'autre
61876
17.11.2016 06:11
- Changer le domaine principal d'un hébergement
54433
12.10.2016 20:18
- Transfert domaine en asso.fr
47774
23.06.2022 07:01
- Copiez l'enregistrement TXT ci-dessous dans la configuration DNS du domaine
45273
12.07.2019 18:28
- Faire pointer nom de domaine externe vers hébergement OVH
44086
16.12.2016 01:26
- Changer la nom de domaine de mon site wordpress
43404
01.02.2017 16:34
- Lier nom du domaine à son espace d'hebergement ovh
41868
03.01.2018 13:31
- Relier domaine OVH a Shopify
37045
01.05.2025 08:41