Jump to content

migration from localhost to webserver


Recommended Posts

Hi,

I have successfully installed prestashop in localhost and its running just fine. I have a strange problem after i migrated from localhost to my new domain for ex:http://www,abc.com/ind

 

It always gets redirected to localhost as its before

 

if I try from another computer at home the following url:

http://192.168.0.195/prestashop/

or

http://dyndnsURL.com/prestashop/

I see its doing "connecting localhost..." and replacing the URL with http://localhost/prestashop/

 

website not working

 

Any ideas?

 

Thanks

Link to comment
Share on other sites

hi..

 

i have one more doubt that , planned to run on my subdomain like www.sbc.com/prestashop.. how can i configure it...even i tried configured in PS_SHOP_DOMAIN, and PS_SHOP_DOMAIN_SSL fields in the PS_CONFIGURATION table....,its not working properly... redcolour quoted text is my subdomain name... pleasehelp me....

Link to comment
Share on other sites

hi..

 

i have one more doubt that , planned to run on my subdomain like www.sbc.com/prestashop.. how can i configure it...even i tried configured inPS_SHOP_DOMAIN, and PS_SHOP_DOMAIN_SSL fields in the PS_CONFIGURATION table....,its not working properly... redcolour quoted text is my subdomain name... please help me....

 

thanks in advance

Link to comment
Share on other sites

Hi dhanasekar,

To run your site off of the subdomain, you will need to also move all of your PrestaShop files on your FTP from the root to a /prestashop (or whatever you name it) subdirectory. Just create the folder and move your files there, and then be sure that everything in your database is pointed to the right place.

 

You will also need to be sure to change the value of PS_BASE_URI in your config/settings.inc.php file to properly reflect the subdomain.

 

I hope this helps.

 

-Mike

Link to comment
Share on other sites

Hi dhanasekar,

To run your site off of the subdomain, you will need to also move all of your PrestaShop files on your FTP from the root to a /prestashop (or whatever you name it) subdirectory. Just create the folder and move your files there, and then be sure that everything in your database is pointed to the right place.

 

You will also need to be sure to change the value of PS_BASE_URI in your config/settings.inc.php file to properly reflect the subdomain.

 

I hope this helps.

 

-Mike

yup mike it really helps.... one doubt is that i need to give only subdomain name to our db PS_SHOP_DOMAIN, and PS_SHOP_DOMAIN_SSL (or) we have to include our Domain name also along with that like www.abc.com/prestashop and

please do say what should written in PS_BASE_URI whether 'www.abc.com/prestashop' (or) just our sub domain name 'prestashop' is enough..

 

please give an example...

thanks in advance

Link to comment
Share on other sites

×
×
  • Create New...