CSS Layout Problem via Internet

I just installed Oxid eShop CE successfully on my local Mac using MAMP and within my Local Area Network it is working fine.

But now I want to publish the eShop so that my friends can access the page.

My localmachine IP is 192.168.2.105

Apache is running on 8888

In my router settings i enabled the portforwarding for port 8888 to 192.168.2.105

THE PROBLEM:
If somebody tries to access the website by entering my WANIP:8888 the content is actually loading but the layout is missing completely. So you can just the text line but CSS is ignored.

Does anybody know how to fix this?

Thanks in advance.

Have you checked the path to the css. Ist correct or is there something missing?
I would say your shop is using the wrong domain accessing the file.

Thanks for the hint. But in which file is the path to the css file defined and why does it work within LAN but not via Internet?

Probably because the shop uses another local-ip then from outside. You should find this info in your source-code like mentioned before. Have a look at your confic.inc.php. file.

I checked the confic.inc.php and I changed the name from localhost to the specific IP address already before.

$this->sShopURL = ‘http://192.168.2.105:8888’; // eShop base url, required

So that doesn’t seem to be the reason for the missing style sheets :frowning:

[QUOTE=vastatio;42801]I checked the confic.inc.php and I changed the name from localhost to the specific IP address already before.

$this->sShopURL = ‘http://192.168.2.105:8888’; // eShop base url, required

So that doesn’t seem to be the reason for the missing style sheets :-([/QUOTE]
This is still the inside IP, which is not accessible from outside. You have to enter WANIP:8888 there.

Ok, I will check that and change it to the WAN IP…

I thought the local IP would be correct here because I set the rule in my router that all incoming requests to port 8888 from the Internet are automatically forwarded to 192.168.2.105

Anyway, I will try and see :smiley:

[QUOTE=vastatio;42833]
I thought the local IP would be correct here because I set the rule in my router that all incoming requests to port 8888 from the Internet are automatically forwarded to 192.168.2.105
[/QUOTE]
This IP is used in the generated Html-Code to point to ressources like stylesheets etc., and from outside only the outside IP points to your router.

GREAT, IT WORKS

The shop can now be reached properly via Internet!

Thanks a lot to leofonic and ChristophH :slight_smile: