New Sub-domain question

Status
Not open for further replies.

mygalleries

New Member
Messages
64
Reaction score
0
Points
0
Hi!!

I just created a new Sub-domain (let's say newsubdomain.mygalleries.x10hosting.com) on my free x10Advanced plan account.

Now it does work but when I type in the URL without including the "/index.php" (ie: http://newsubdomain.mygalleries.x10hosting.com), it goes directly to my main domain site and not the Sub-domain.

If I include the "/index.php" to the end of my new Sub-domain URL address (ie: http://newsubdomain.mygalleries.x10hosting.com/index.php), then the proper page loads.


How do I setup my Sub-domain so that every sub-folders in my subdomain folder would default to index.php or index.html if file is present?

For example:
http://newsubdomain.mygalleries.x10hosting.com/Coppermine
would be same as if I typed in:
http://newsubdomain.mygalleries.x10hosting.com/Coppermine/index.php


Please help!! Thank you in advance.

- MyGalleries
mygalleries.x10hosting.com


UPDATE: I found out why my new Sub-domain redirect me back to my main domain. I had a redirect set for my main domain to redirect "/index.html" to "http://mygalleries.x10hosting.com/index-noframes.php". Well I did not know that any root level redirection from the main domain will also redirect any sub-domains you create.

Is there a way to restrict the root level redirection from the main-domain to not apply to sub-domains?
 
Last edited:
Status
Not open for further replies.
Top