I purchased a dedicated server from http://www.superbhosting.net . Not a bad price ($59.00/month for a 2.4GHz machine), but the problem is that they basically installed an OS (Linux CentOS), Apache, and left most of the rest to me. I don't have cPanel or anything, meaning all of this work must be done by hand.. (through SSH).
Setting up nameserver...
So far, I've set up the FTP server and phpMyAdmin (took several hours) and have managed to get the website working-- when you type in the IP address into your browser, that is. My task now is to get my domain to resolve to the dedicated server IP address(es; they gave me two).
I was told by superbhosting.net support that I need to set up nameserver software on my dedicated server. How do I do this?
I have entered ns1.seedsoftime.net and ns2.seedsoftime.net into the domain manager at Godaddy for my seedsoftime.net domain, and I have registered the nameservers in Godaddy with a guide I googled for.
Parking domain...
After the name server is set up, do I also have to "park" the domain somehow? I have one main domain (seedsoftime.net) I need to get working ASAP, and I also have a couple of extra domains for other sites I'd like to host (joshforde.com and ultimatetowerdefense.com).
Setting up nameserver + parking domain on dedicated server?
Moderator: General Moderators
- Josh1billion
- Forum Contributor
- Posts: 316
- Joined: Tue Sep 11, 2007 3:25 pm
- Josh1billion
- Forum Contributor
- Posts: 316
- Joined: Tue Sep 11, 2007 3:25 pm
Re: Setting up nameserver + parking domain on dedicated server?
Working toward a solution (links provided for people in similar situations):
I downloaded and installed BIND 9 last night, and I have now downloaded and installed Webmin, a web-based server configuration application. I have used Webmin according to several guides to create the nameserver.. I hope this works.
I downloaded and installed BIND 9 last night, and I have now downloaded and installed Webmin, a web-based server configuration application. I have used Webmin according to several guides to create the nameserver.. I hope this works.
- Josh1billion
- Forum Contributor
- Posts: 316
- Joined: Tue Sep 11, 2007 3:25 pm
Re: Setting up nameserver + parking domain on dedicated server?
The nameserver stuff worked! Woooooot.
Also, on a related subject, does anyone know how I can get a domain (joshforde.com) to point to a subdirectory on my server? Specifically, I want visitors of JoshForde.com to see the pages contained within SeedsOfTime.net/joshforde/ . Currently, both SeedsOfTime.net and JoshForde.com point to the regular http://www.SeedsOfTime.net pages (which are contained in what is basically a public_html folder).
Also, on a related subject, does anyone know how I can get a domain (joshforde.com) to point to a subdirectory on my server? Specifically, I want visitors of JoshForde.com to see the pages contained within SeedsOfTime.net/joshforde/ . Currently, both SeedsOfTime.net and JoshForde.com point to the regular http://www.SeedsOfTime.net pages (which are contained in what is basically a public_html folder).
Re: Setting up nameserver + parking domain on dedicated server?
Edit Apache vhosts.conf
There are 10 types of people in this world, those who understand binary and those who don't
- Josh1billion
- Forum Contributor
- Posts: 316
- Joined: Tue Sep 11, 2007 3:25 pm
Re: Setting up nameserver + parking domain on dedicated server?
Thanks. But where do I find that file? And does it already exist by default or must I create it?
- Josh1billion
- Forum Contributor
- Posts: 316
- Joined: Tue Sep 11, 2007 3:25 pm
Re: Setting up nameserver + parking domain on dedicated server?
I found it, and all is working perfectly.
I had to create it myself as /etc/httpd/conf/vhost/Vhosts.conf, then I had to add this to the end of my Apache httpd.conf file to "include" it..:
Include /etc/httpd/conf/vhosts/Vhosts.conf
(seeing as how there was no previous vhost data in the httpd.conf file)
In Vhosts.conf, I had to enter something like this:
After all that, I restarted Apache with the following command:
apachectl -k restart
Hope this helps someone in a similar situation.
I had to create it myself as /etc/httpd/conf/vhost/Vhosts.conf, then I had to add this to the end of my Apache httpd.conf file to "include" it..:
Include /etc/httpd/conf/vhosts/Vhosts.conf
(seeing as how there was no previous vhost data in the httpd.conf file)
In Vhosts.conf, I had to enter something like this:
Code: Select all
NameVirtualHost *:80
#### LocalHost aka Domain 1 ####
<VirtualHost *:80>
ServerName http://www.seedsoftime.net
ServerPath /seedsoftime.net
DocumentRoot /var/www/html/
</VirtualHost>
#### Domain 2 ####
<VirtualHost *:80>
ServerName http://www.ultimatetowerdefense.com
DocumentRoot /var/www/ultimatetowerdefense/
</VirtualHost>
#### Domain 3 ####
<VirtualHost *:80>
ServerName http://www.joshforde.com
DocumentRoot /var/www/joshforde/
</VirtualHost>apachectl -k restart
Hope this helps someone in a similar situation.