Domain pointing folder in public_html

Asked by:
Alfonso00MA / 18 Points
Time:
2013-06-21 5:28 pm EST
Category:
Domain Pointing
Hits:
317
I have some folders inside my public_html (folder1, folder2 .....). I need my domain (www.domain.com) to point one of these folders.

So when a user enter www.domain.com/whatever into his address bar, he must be redirected to www.domain.com/folder1/whatever, but his web browser must show www.domain.com/whatever.

How do I need to configure my .htaccess file?

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

arnelc
Staff
13,324 Points
2013-06-21 5:42 pm EST
Hello Alfonso00MA,

You can configure add-on domains for their folder paths with no problem within the cPanel. However, the PRIMARY domain - the domain you specified when you purchased the hosting account, will need to be set by our systems team. They have to do what's called a document root change. You rneed to submit a request to support@webhostinghub.com for the change to be made. Additionally, make sure to send the email, or contact our live support team.

Regards,
Arnel C.

To submit a comment on this answer, please first login.

I have added a addon domain but still not working.

New Domain Name: folder1.com
Document Root: public_html/folder1

Do I need to do anymore? Change DNS or nameserver configuration?
Alfonso00MA
18 Points

2013-06-23 4:00 pm EST
Hello Alfonso00MA,

Keep in mind, new Addon domains can take up to 24 hours to propagate. You would also have to point the Addon domain to our Nameservers.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul
johnpaulb-whh2
9,105 Points
Staff
2013-06-24 10:07 am EST
Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.