#1 December 20, 2018 4:25am

daansk44
Member
From: Amersfoort, The Netherlands
Registered: September 12, 2016
Posts: 42

Showing same website on two different domains

Is it possible to show the same website on two different domains?
When you edit one website the other website is also updated.

And what about the images? Given that they are uploaded to just one website.
I know that you can link two websites with a database (via your environment file). But does not this present conflicts when uploading images?

Offline

#2 December 20, 2018 5:26pm

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 974

Re: Showing same website on two different domains

If you want an exact duplicate of a website served by two different domains you'd need to setup two VirtualHosts with two BigTree installations targeting the same database. One would have the first domain in its environment.php and the other would have the second domain in its environment.php file. In order to have them share the same set of uploaded files the easiest thing to do would be to make a symbolic link from one site's /site/files/ directory to the other. That way when either site tries to upload it points to the same directory.

Offline

#3 December 22, 2018 7:35am

daansk44
Member
From: Amersfoort, The Netherlands
Registered: September 12, 2016
Posts: 42

Re: Showing same website on two different domains

thanks for your reply smile

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.