Getting started: How To?

vod

Verified User
Joined
Oct 25, 2005
Messages
129
Hi All,

just got my vps with directadmin. already have an admin account. following the guide i set up a domain.
Step 1: Set a main domain name
By default, no web site is associated with your server.
1. Sign into your control panel at http://<server ip>:2222 as the admin user.
2. Switch to the User panel (link is near the top right of screen)
3. Click the "Add Another Domain" text link.
4. Enter your domain name into the box and click Submit.

where should i upload my html files? is it correct to upload it to /admin/domains/mydomain/public_html? or upload it to /var/www/html/ ?

i uploaded to /admin/domains/mydomain/public_html/ however when i go to http://my.ip/index.html, it doesnt show up, instead it shows the index.html of /var/www/html/

whats wrong with my setup?

thanks.
 
The main IP# of your vps (perhaps the only IP#) will resolve to /var/www/html.

A domain name, once you set it up, will resolve to:

/home/username/public_html

or to

/home/username/domains/example.com/public_html

(since the former is a symbolic link to the latter).

If you want to see the site before the domain name is setup you can use:

http://xx.yy.zz.aa/~admin

which will give you first domain name set up (the default domain name). If you have more than one domain you can change the default domain in the control panel so you can see the right domain before it resolves in DNS.

Jeff
 
thanks for the advice.

everything is working great now except having little hiccups installing awstats.
 
Back
Top