You are here:  » Subdomain setup


Subdomain setup

Submitted by Pep on Wed, 2016-12-07 20:36 in

Hi David
I am moving pricetapestry to a subdomain. The subdomain is "shopping" and the directory is "shoppingcentre". Using $config_baseHREF = "/shoppingcentre/"; in config.php it works perfectly for the directory but when I go into the subdomain it just brings up "Index of".
What do I need to change for it to show up in the Subdomain?
Cheers

Submitted by support on Thu, 2016-12-08 10:42

Hello Pep,

If the sub-directory is only the container "public_html" folder for the sub-domain (a common hosting set-up) and not actually used as part of the URL e.g.

http://shopping.example.com/

...then $config_baseHREF should remain as "/" since relative to shopping.example.com the script is installed in the top level of the website.

That may not be related to "Index Of" issue - as that would imply that the hosting configuration isn't quite right - check that /shoppingcentre/ contains "index.php" and if so, it would indicate that the subdomain is pointing somewhere else - to an empty folder. That should be all it is, let me know if you're still not sure of course...

Cheers,
David.
--
PriceTapestry.com