Page 1 of 1

Ive made a config error on install

Posted: Mon Oct 04, 2021 3:18 am
by dev_irl_ab
Hi Everyone,
I am self hosting my company s website before i publish it using an Ubuntu 20.4 host with Apache, MySql and PHP 7.4.

I struggled through issues as this was my first self host but i was able to find answers to all issues that came up using these forums.

However i can not find a similar issue to my own.

On the webserver the site runs like a dream if i use it locally on that machine using localhost:
http://127.0.0.1/store

I have two issues if i view it from across the internal LAN.
http://99.99.99.10/store
1. The site does not load and only loads in raw text
2. If i try click on any of the links the URL changes and also tries to load the localhost ip which wont load and not the server ip

I believe i have made a configuration mistake if the site is trying to move to the localhost ip and not stay on the actual server ip

I have attached screen shots of what i mean as i hope i am explaining that correctly

Thank you all in advance

Re: Ive made a config error on install

Posted: Mon Oct 04, 2021 4:06 pm
by ADD Creative
You would need to update your config,php to use the new address.

Re: Ive made a config error on install

Posted: Mon Oct 18, 2021 1:07 pm
by linkfm
Do you have a backup Config file?

Open the config file in notepad or any editor you are using, replace all old URL locations with a new one and upload new config file.