Page 1 of 1

[SOLVED] Access localhost from outside - not loading images and css

Posted: Fri Jun 26, 2009 10:33 am
by alzambo
Hi,

I have cmsms correctly configurated on my lan with a MAMP server; homepage's url is http://localhost:9888/cmsmadesimple/
If I try to access from outside (firewall port 9888 forwarded correctly) as http://my-public-ip:9888/cmsmadesimple it loads only the text without images and css.

Any clues?

Thank you in advice,
Alex

Re: Access localhost from outside - not loading images and css

Posted: Fri Jun 26, 2009 1:06 pm
by reneh
yes


you are not accessing http://localhost:9888/cmsmadesimple/  from outside - so your config is set up wrong

Re: Access localhost from outside - not loading images and css

Posted: Mon Jun 29, 2009 1:54 pm
by alzambo
Ok, now I've set up config.php with external ip. And seems working.

Thank you!

Re: [SOLVED] Access localhost from outside - not loading images and css

Posted: Tue Sep 08, 2009 9:14 am
by Morli
Hi,
It's all pretty new to me and I'm having the same problem.
How do you set up your config.php for an external ip?

I run CMSMS on a mac OSX 10.6 machine without any problems (it is indeed 'made simple'). When I try to acces the site on another machine in the company network, I just get a plain page without css styles (the HTML source states http://localhost/cmsms/... )How do you change this?

Kind regards,

Kristof

Re: [SOLVED] Access localhost from outside - not loading images and css

Posted: Tue Sep 08, 2009 9:44 am
by RonnyK
Check your outside IP, and use that in the config.php, whereever localhost is standing....

Ronny

Re: [SOLVED] Access localhost from outside - not loading images and css

Posted: Tue Sep 08, 2009 12:19 pm
by Morli
Thanks for the guide RonnyK.

I adjusted the ip adres to the one I found in my system prefs. When I enter the ipadres in both host machine and external machine I get an acces denied page. Host "IPADRES" has no acces to the MYSQL database.

What am I doing wrong?

Re: [SOLVED] Access localhost from outside - not loading images and css

Posted: Tue Sep 08, 2009 1:41 pm
by calguy1000
This is not a CMSMS problem it's a host/router/server configuration issue.