How to point a domain to a specific directory

Status
Not open for further replies.

crassy60

New Member
Messages
1
Reaction score
0
Points
0
Hi

I want to install a web site to a specific directory within the public_html directory and I want my domain to point to that subdirectory.

How do I do that?
 

calistoy

Free Support Volunteer
Community Support
Messages
5,602
Reaction score
87
Points
48
That sounds like the function of an addon domain. If you mean to use your own bought domain, then just click on addon domains and then place it there.

Otherwise, if you mean to point your free x10hosting main domain, then do the following:
1. Make your new directory inside public_html, and upload your website (or fill out the directory you want to create when doing a website script installation in Softaculous)
2. Go to Redirects in cPanel to redirect your main domain to your site. Otherwise, go to your .htaccess file and redirect the domain in there.
 
Status
Not open for further replies.
Top