.htaccess help?

Associate
Joined
21 Oct 2002
Posts
1,045
I seem to be floundering between various online guides without much success - everytime i think im getting there i get a 500.html error.

I have a shared hosting account with one main domain name 'alpha.co.uk' which i want to situate in a subfolder of the document root i then also have two addon domains 'beta.info' and 'charlie.org.uk' also in subfolders on the shared hosting route. All 3 are seperate sites and need not be aware of one another.

So 'charlie.alpha.co.uk' should never be visible to the user as should 'alpha.co.uk/_charlie' never be visible.

Hopefully ive described well enough? I think if i could get over this speedbump my .htaccess understanding might get a kickstart.

Appreciate any help, cheers.
 
Still need to fine tune my htaccess file for some URL rewriting but a good starting point for anyone coming across this issue with addon domains on shared hosting is to move your addon domain subdirectorys above the 'www' 'public_html' directory. Thus the public_html is reserved for my main domain.

It solved the initial structure rangle i was having.
 
Back
Top Bottom