Jump to content

[Solved] My shop is only showing on localhost but in the net only the admin site.


Recommended Posts

After successfully installing my Prestashop inside of a folder named "eshop" in my modified web folder of a Linux System (The Israel Linux Remix Team System), which is featuring full PHP/MySQL Administration capabilities. The Prestashop is running perfectly when it is called through my localhost (http://localhost/eshop)

The administration folder was renamed from "admin" to "administration" in order to provide support for this thread and people may see what I am experiencing, which may (or not) be modified later (as I understand).

My modem is having a Dynamic DNS routing in the NAT in order to gain access to this server via port 80, I am using "No-IP" free service in order to gather a free domain name. This DDNS will redirect any visitor to my physical IP, which will appear in the address bar at the very moment that the eshop is accessed (or the administration folder).

As I mentioned before, the shop is showing only in the localhost (in the same machine where it is installed), and everything can be done perfectly in that computer. But if you wish to gain access to the eshop in a computer other than the host, you will receive no answer from the eshop, but the administration folder and all the back-office features are working pretty fine.

You can try to gain access to my site via http://geppettvs.servehttp.com which will show you my main html/php site. And when you wish to access the eshop (http://geppettvs.servehttp.com/eshop), an error like this shown in the attached "Pantallazo.png" screenshot will appear. Additionally, the address in the address bar will show my server's IP and will add "/eshop" twice at the very end. (IE: http://189.158.7.34:8080/eshop/eshop/). This won't happen when you access to the administration site (http://geppettvs.servehttp.com/administration)

An employee with "Salesman" profile for testing purposes was added, which will be deleted after this problem gets fixed. Login data as shown:

user email (for login): [email protected]
password: prestashopdemo

I have tried this: http://alvinjiang.blogspot.com/2011/04/prestashop-tips-domain-name-and.html (found here)and somehow the results will only remove one "/eshop" from the end of the address and sometimes delivers a wrong address, which means that somehow the suggestion is taking effect but don't do what I expect.

Any help with this issue is appreciated. If you need further information/screenshots about my configuration/system please let me know and I will return with it after this weekend.

Thanks in advance.

42520_m6ttUeIyxUTEn7y1zPZG_t

Link to comment
Share on other sites

For those interested in this case:

I finally found a solution to make this work perfectly.

Somehow, the folder's name that I was using was having problems to be reached by the DDNS. Which was solved by making a new install and using a different folder name for the local install.

I was originally using "eshop" and/or "shop" for the folder names. Which was changed for "tienda" and the problem disappeared.

I don't know how can these words make a major problem to my shop. I would say that the folder name was crashing with the database name but it was having a different name indeed. But fortunately, now the problem is solved.

Thank you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...