PDA

View Full Version : Viewing site before domain is pointed to server



davef8
02-22-2004, 12:02 AM
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?

DirectAdmin Support
02-22-2004, 12:30 AM
Hello,

http://1.2.3.4/~username

Also, the next release will allow users to set which domain of theirs the ~username points to. (for users who've created multiple domains).

John

davef8
02-22-2004, 12:36 AM
Thanks for the super fast response. The only username we have setup is admin. I tried http://ipaddress/~admin/

This produced a 404 error. We don't have any reseller accounts setup, just admin with one domain name.

existenz
02-22-2004, 01:31 AM
Admin the user does not work. You can test the Reseller's users.

DirectAdmin Support
02-22-2004, 11:50 PM
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

davef8
02-23-2004, 12:36 AM
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.