Page 1 of 1

2 domains same site

Posted: Tue Aug 29, 2023 11:46 pm
by spd2612
Is there a way to have 2 domains pointing to same site? I relize that when clicking in the menu it will change to the domain set in the control panel But going to the main page under a different domain drops the icons
This is a SSL SITE

https://hurricanepub.com and https://scpweather.com

Re: 2 domains same site

Posted: Tue Sep 05, 2023 9:08 am
by andyk1
In the (Index. html) of each site have them point to the same url.

Andy

Re: 2 domains same site

Posted: Tue Sep 05, 2023 12:37 pm
by spd2612
andyk1 wrote: Tue Sep 05, 2023 9:08 am In the (Index. html) of each site have them point to the same url.

Andy
Andy Thanks for the reply but I guess I was not clear on what I would like to do
I did just realize that going to scpweather.com on iphone redirects to hurricanepub.com domain
I don't believe it can be done but thought id ask
There is only one site just using 2 different domain names and yes I have reasoning for that

Re: 2 domains same site

Posted: Tue Sep 05, 2023 3:06 pm
by FSC830
My guess: thats something in setting of the scp... site. No idea, why a second site should drop any icons.
Check in domain user interface of your provider if there is an option to specify a character set or something like this. I am rather sure, this has nothing to do with the count of domains hosted at this site.

Regards

Re: 2 domains same site

Posted: Tue Sep 05, 2023 3:28 pm
by spd2612
FSC830 wrote: Tue Sep 05, 2023 3:06 pm My guess: thats something in setting of the scp... site. No idea, why a second site should drop any icons.
Check in domain user interface of your provider if there is an option to specify a character set or something like this. I am rather sure, this has nothing to do with the count of domains hosted at this site.

Regards
I host everything here in my own racks on Apache2 linux
I think its happening because they are both https and in the main setup you have to define the domain which sets the default path
I will have to play with some files or maybe even change my sites available file in apache
Just was hopeing someone else has done this

Re: 2 domains same site

Posted: Tue Sep 05, 2023 9:49 pm
by spd2612
In MAIN Setup If I change the paths to

Page URL - make sure to include the http:// !!! https://scpweather.com

From Page URL - make sure to include the http:// !!! https://hurricanepub.com
then it works from scpweater.com but have the same issue with hurricanepub.com

I have no idea how to make this work
It appears the paths are driven by config.php and it not flexable

Re: 2 domains same site

Posted: Wed Sep 06, 2023 12:13 am
by FSC830
Strange, I do not have such a config running at my VMs, and currently I have only few time left to set up such a config.
How are the paths defined? Is there a symlink in use?
Seems, that for any reason only the path to the icons is not configured properly... :?

Regards

Re: 2 domains same site

Posted: Wed Sep 06, 2023 3:41 am
by spd2612
I do not believe I ever set a symlink for that folder
I don’t do anything with the path I believe thats all done thru the main setup
This webserver also runs as a esxi VM