Viewing site before domain is pointed to server

davef8

Verified User
Joined
Feb 20, 2004
Messages
48
Location
Los Angeles
Not sure if this questions belongs in this category but here goes...

We have directadmin setup on RH 9. There is currently one domain setup in directadmin but we haven't actually pointed the domain name to the server yet. We want to test the site out before doing this. How can we access this site from the web before the domain is actually pointed to it.

We tried
http://ipaddress/domains/domain.com
http://ipaddress/domain.com

Neither of those worked. Anybody have any ideas?
 
Hello,

The admin doesn't work because it doesn't have a domain when iti's created. You can fix that by running:

cd /home/admin
ln -sf ./domains/domain.com/public_html public_html

... The next release will ensure that the public_html symbolic link exists for new domains.

John
 
Thanks for all your all help. I ended up just creating a user account and then adding a domain to that. Wasn't a big deal at all. Thanks once again.
 
Back
Top