CMSMadeSimple and hostnames

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
naxale

CMSMadeSimple and hostnames

Post by naxale »

Hello,

I've got some trouble in configuring my site...

I've installed CMSMadeSimple on a machine on my LAN (192.168.1.55).
Everything has gone OK.
I can access the pages through http://192.168.1.55

Then I configured port forwarding on my firewall. And when I try to reach http://mysite.com (from a machine on the web outside the LAN). It fails.

Loading 192.168.1.55...
And nothing happens.

I changed in config.php every 192.168.1.55 by mysite.com
But nothing changes...

Do you have an idea? Maybe the solution is somwhere else? Apache server?

Thanks for your help!
naxale

Complements

Post by naxale »

In fact, it works but it is very very slow!
And the dynamic menus {cms_module module='phplayers'} don't seems to work properly.

Do I miss something?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

CMSMadeSimple and hostnames

Post by Ted »

You probably have to set the hostname in your apache config. I believe that it is commented out by default and makes apache default to the machine's IP.
naxale

ServerName

Post by naxale »

It was already set to the correct value.
For example I tried to access directly to a simple html page (the on eby default in Apache) it worked quickly and perfectly.

Well, there is a problem with my template I think. Because when I use the one by default it's quick BUT the dynamic menu don't work. Only the first level appears! Maybe a right access to correct???

Tanks
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

CMSMadeSimple and hostnames

Post by Ted »

I don't think so... It should be loading the phplayers menu based on values in config.php.

Oh...

Make sure you clear the cache with the button in system preferences. The html generated to load the javascript files for the dynamic menu is cached after the first look and doesn't take changes to config.php into account when it decides if the cache data is old or not.
naxale

Did it :-/

Post by naxale »

wishy wrote: Make sure you clear the cache with the button in system preferences. The html generated to load the javascript files for the dynamic menu is cached after the first look and doesn't take changes to config.php into account when it decides if the cache data is old or not.
I did it, but nothing change...

For example you can test it here :
http://galactica.mine.nu:35235/index.php

It's the default CMS page...

Hope this helps!
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

CMSMadeSimple and hostnames

Post by Ted »

Yup, that did. Put the port number in config.php also. It thinks the javascript is at: http://www.galactica.mine.nu/modules/PH ... tection.js
naxale

Exactly!!!!

Post by naxale »

That's it!

Yeepeee!!! Great advice, this "special" TCP/IP port is only for testing...
I'll correct that later!

Thank you very very much!

The speed problem is certainly due to my "hugly" coded template. :-/

There's still a lot of things to improve on my side ;)

Thank you very much wishy. I'm looking for an easy way to improve the actual site (static+css) : CMS is the better tool I've ever tested! Great job!
Locked

Return to “[locked] Installation, Setup and Upgrade”