Skip to main content

ERR_CONNECTION_REFUSED on non-www domain despite correct DNS and cPanel redirect - cPanel/WHM

Comments

1 comment

  • cPRex Jurassic Moderator

    Bonjour ! Sans accès root à la machine, je ne pense pas qu'il vous soit possible de résoudre ce problème. Une personne disposant des droits root devrait vérifier la configuration d'Apache afin de déterminer pourquoi il manque la configuration pour « domain.com ».

    J'ai créé un domaine de test sur mon propre système — spécifiquement avec l'adresse www.domain.com — pour observer la manière dont Apache gère ce cas de figure ; Apache a bel et bien généré le vhost correspondant à la simple adresse « domain.com » en parallèle. Par conséquent, il sera nécessaire d'examiner directement le serveur via la ligne de commande pour en identifier la cause.

    Je suis navré de ne pas pouvoir vous apporter de réponse plus précise à ce sujet ; toutefois, si les domaines sont créés correctement sur la machine, une telle situation ne devrait pas se produire sur un serveur cPanel.

    =========================================================

    Hey there!  Without root access to the machine I don't believe there is going to be a way for you to fix this.  Someone with root access would need to check the Apache configuration to determine why there is no "domain.com" configuration.

    I did create a test domain on my system with www.domain.com specifically to see how Apache handles this, and Apache still created the plain "domain.com" vhost as well, so someone will need to investigate the server on the command line directly to determine the cause.

    I'm sorry I don't have better information for you on this, but if domains are created normally on the machine this should not be able to happen on a cPanel server.

    0

Please sign in to leave a comment.