Page 1 of 1

Folder public_html in explorer

Posted: Thu Apr 03, 2014 7:19 am
by reina3596
Good morning

I'd like to know if there is any way to access the folder of the virtual host in apache until the domain is activated.

For example:

http://public_ip/mydomain.com/public_html

Thanks for all

Re: Folder public_html in explorer

Posted: Thu Apr 03, 2014 7:38 am
by ASNight
You can use .htaccess file for it.

Re: Folder public_html in explorer

Posted: Fri Apr 04, 2014 6:59 am
by reina3596
ASNight, Can you post an example.

Best Regards

Re: Folder public_html in explorer

Posted: Fri Apr 04, 2014 9:10 am
by imperio
Hi, reina3596
you want to browse the website when it is not yet activated ?

Re: Folder public_html in explorer

Posted: Fri Apr 04, 2014 5:57 pm
by reina3596
Imperio,

Yes, I would like to access while DNS is in progress.

Direct Admin let you access in

Serverip/~domain.com/public_html

Thanks from Spain ;)

Re: Folder public_html in explorer

Posted: Sat Apr 05, 2014 10:18 am
by MyKEcz
Good Idea, every web page should have internal url.

Re: Folder public_html in explorer

Posted: Sat Apr 05, 2014 10:21 am
by imperio
If you using Windows on your computer, you can use hosts file for this