Results 1 to 3 of 3
-
01-18-2007, 07:24 PM #1Junior Guru Wannabe
- Join Date
- Nov 2005
- Posts
- 41
First time w/o cpanel - setting up a domain
Hello all, I recently purchased my first server w/o whm/cpanel and I'm trying to set up a domain on it.
Heres what Ive done created a new user and set their home directory as /home/<user>. I then made a public_html folder within their home dir.
Then I went into httpd.conf, and added a virtual host for that domain with the document root to the public_html dir i created .
At this point, what is there left to do? I need to mess with the DNS right? Anything else?
-Jason
-
01-18-2007, 07:38 PM #2Junior Guru Wannabe
- Join Date
- Dec 2006
- Posts
- 35
Try restarting httpd... Also, chmod 0750 public_html and 0711 /home/<user>
That should work...You might need to mess with some kind of DNS settings but I can't help there, sorry
-
01-19-2007, 04:24 AM #3Junior Guru
- Join Date
- Feb 2005
- Location
- I am air u breathe
- Posts
- 230
adding a user, followed by adding entries in httpd.conf. That is what apache demands unless you have some additional settings for the user.
Now back on the local server the domain should be coming up. Have you tried that ?
If you want things to go via internet, get your hand on dns, install bind, configure the domain and just roll on :-)
Al
It is reliability that counts...