missing link to /public_html in root directory

zomby

New member
Joined
Jun 8, 2011
Messages
3
Hi,

According to http://www.site-helper.com/uploading.html At the root of account exists these directories:
/backups /domains /mail /public_html

But i can find only two:
/domains and /imap

So i upload index.php to domains/mydomain/public_html

But when I enter http://ip.address/~username i get the erros message "The requested URL was not found on this server".

Maybe that happens because of missing link to /public_html in root direcotry. How can it be fixed?

I am newbye, sorry if my question is stupid. Thank's for help.
 
The missing public_html is not important, is just a symlink to the directory where you correctly uploaded the file.

There was a feture into directadmin for block the access from IP/~username but actually i dont remember which was.

You cant access directly from domain name? (ex. http:://www.mydomain.com)

Regards
 
I can't access directly, because my domain still pointed to old host. Probably i have to wait while, it by updated and hope that direct access will work at that time.

Thank's for help.
 
You should try to find the feature ive talked about and disable it in directadmin.conf

Thats should help you to view in the alternative way :)

Regards
 
Thot that on a new user the first domain is always default.

The set as default just create the symlink public_html in the root that redirect to domain/domain.com/public_html

Well, nice it worked :)

As zeiter menthioned was easy to do aswell with host file but i didnt thot to that.

just for you information

edit:

c:\windows\system32\driver\etc\hosts

and add a line like:

ip domain
ex: 192.168.1.100 www.mydomain.com

Was able to let you access www.mydomain.com from browser without necessary have already made the transfer.

Removing that line will restore everything as usual, so, for check www.mydomain.com would use dns :)

Regards
 
Not sure but to use the IP# feature it's possible the public_html link needs to be there because otherwise httpd wouldn't know what to follow if all it has is the IP#.

Jeff
 
Back
Top