[Solved]$config['root_url'] problem

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
seafurymike
Forum Members
Forum Members
Posts: 24
Joined: Sun Feb 04, 2007 11:44 am

[Solved]$config['root_url'] problem

Post by seafurymike »

I installed CMCMS 1.5.2 and I had an issue where:

Default Install:
1. From  my local lan access the web site without an issue. All pages rendered correctly
2. Could not access rendered pages correctly from the internet

I changed my 'root_url:2001' string to be my dyndns domain name and the following occurs:

1. Can access all pages without a problem and they are all rendered as expected
2. Can not access my web site at all from my local LAN

As a third try to resolve the issue, i added the local lan IP address dyndns url in the config.php file, one after the other, with  the local lan address 1st and dyndns as the second

1. $config['root_url'] = 'http://X.X.X.X/';
2. $config['root_url'] = 'http://www.URL.com:2001/';

The output of this is that the web works from the internet, and i can only get the text and no rendering form the internal lan

Can someone help and explain what I need to do to resolve this issue.
I have looked throught he forums and can't work out what the issue is
Last edited by seafurymike on Sun Jan 25, 2009 2:10 pm, edited 1 time in total.
alby

Re: $config['root_url'] problem

Post by alby »

seafurymike wrote: As a third try to resolve the issue, i added the local lan IP address dyndns url in the config.php file, one after the other, with  the local lan address 1st and dyndns as the second

1. $config['root_url'] = 'http://X.X.X.X/';
2. $config['root_url'] = 'http://www.URL.com:2001/';
last overwrite prevs .... you have 2. only

seafurymike wrote: Can someone help and explain what I need to do to resolve this issue.
I have looked throught he forums and can't work out what the issue is
This is a DNS/HTTP configuration issues and not CMS issue

Alby
seafurymike
Forum Members
Forum Members
Posts: 24
Joined: Sun Feb 04, 2007 11:44 am

Re: $config['root_url'] problem

Post by seafurymike »

Hi Alby,

Thanks for the reply.

Q. Why is CMSMS trying to load part of the page using my local IP and then go to my dyndns account for the content and rendering. It doesn't make sense.

Surely there must be a way to stop this behavior
seafurymike
Forum Members
Forum Members
Posts: 24
Joined: Sun Feb 04, 2007 11:44 am

Re:[Fixed] $config['root_url'] problem

Post by seafurymike »

Thanks for your help guys.

Problem fixed
Post Reply

Return to “The Lounge”