2 domains same site

Post Reply
spd2612
Forecaster
Forecaster
Posts: 192
Joined: Thu Jan 23, 2020 4:00 pm
Location: Jonesboro Ar
Station model: Davis Pro 2
Software: Meteobridge Pro 2
Contact:

2 domains same site

Post by spd2612 » Tue Aug 29, 2023 11:46 pm

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
Image

Davis Pro 2
Meteobridge Pro2

GW 2000
WH57 Lightning Detector

andyk1
Professional
Professional
Posts: 433
Joined: Tue Feb 27, 2018 10:56 pm
Location: OKLAHOMA, USA
Station model: Ecowitt WS90
Software: Meteobridge/GW2000B
Contact:

Re: 2 domains same site

Post by andyk1 » Tue Sep 05, 2023 9:08 am

In the (Index. html) of each site have them point to the same url.

Andy
Image

spd2612
Forecaster
Forecaster
Posts: 192
Joined: Thu Jan 23, 2020 4:00 pm
Location: Jonesboro Ar
Station model: Davis Pro 2
Software: Meteobridge Pro 2
Contact:

Re: 2 domains same site

Post by spd2612 » Tue Sep 05, 2023 12:37 pm

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
Image

Davis Pro 2
Meteobridge Pro2

GW 2000
WH57 Lightning Detector

FSC830
Forecaster
Forecaster
Posts: 195
Joined: Thu Aug 02, 2018 11:40 am
Station model: Davis Vantage Pro2
Software: Meteobridge

Re: 2 domains same site

Post by FSC830 » 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
Image

spd2612
Forecaster
Forecaster
Posts: 192
Joined: Thu Jan 23, 2020 4:00 pm
Location: Jonesboro Ar
Station model: Davis Pro 2
Software: Meteobridge Pro 2
Contact:

Re: 2 domains same site

Post by spd2612 » Tue Sep 05, 2023 3:28 pm

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
Image

Davis Pro 2
Meteobridge Pro2

GW 2000
WH57 Lightning Detector

spd2612
Forecaster
Forecaster
Posts: 192
Joined: Thu Jan 23, 2020 4:00 pm
Location: Jonesboro Ar
Station model: Davis Pro 2
Software: Meteobridge Pro 2
Contact:

Re: 2 domains same site

Post by spd2612 » Tue Sep 05, 2023 9:49 pm

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
Image

Davis Pro 2
Meteobridge Pro2

GW 2000
WH57 Lightning Detector

FSC830
Forecaster
Forecaster
Posts: 195
Joined: Thu Aug 02, 2018 11:40 am
Station model: Davis Vantage Pro2
Software: Meteobridge

Re: 2 domains same site

Post by FSC830 » Wed Sep 06, 2023 12:13 am

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
Image

spd2612
Forecaster
Forecaster
Posts: 192
Joined: Thu Jan 23, 2020 4:00 pm
Location: Jonesboro Ar
Station model: Davis Pro 2
Software: Meteobridge Pro 2
Contact:

Re: 2 domains same site

Post by spd2612 » Wed Sep 06, 2023 3:41 am

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
Image

Davis Pro 2
Meteobridge Pro2

GW 2000
WH57 Lightning Detector

Post Reply