How to configure a production multi-domain website (D7)

30/07/2018


I am on Drupal 7 and LWS on a production site that I want to open to two new domain aliases. So I want to the same structure to be accessible using different domain names because some content could change according to the domain used.

THIS IS WHAT I ALREADY DID :

  • added to aliases in the servers configuration screen ;
  • installed the “domain” module after setting up “settings.php” with the line to add at the end of the file ;
  • added the two new domains via “admin/structure/domain/create”. They are both created on the host server and on the site.
    But when typing them on a browser address bar, I see : “This site can’t be reached… Server IP could not be found… ERR_NAME_NOT_RESOLVED“.

Is there something that I do wrong?

NOTICE :
This is something that I’ve made offline and works! But now online what is missing ?

A help will be great!

قالب وردپرس