I just got a virtual private server (VPS) from RoseHosting.com. I told them I wanted to run my own DNS servers before understanding what it would be like. So, they set me up and told me this was my info:

Operating System: RedHat 9
Domain Name: This-Domain-Name-Is-Available-For-Sale.com
Host Name: This-Domain-Name-Is-Available-For-Sale.com
IP Address: 209.135.140.211
Physical Host Name: vs511.rosehosting.com (to be used before your DNS changes propagate)

Then, I went to GoDaddy.com and added 2 hosts in my domain host summary for This-Domain-Name-Is-Available-For-Sale.com. The two hosts I added were: ns1.This-Domain-Name-Is-Available-For-Sale.com at 209.135.140.211 and ns2.This-Domain-Name-Is-Available-For-Sale.com at the same IP (209.135.140.211). I don't even know if this will work, but I only have one IP and one server and I'm trying to make due with what I have.

Then, I set the name servers on another domain of mine (floridasnook.com) to ns1.This-Domain-Name-Is-Available-For-Sale.com & ns2.This-Domain-Name-Is-Available-For-Sale.com.

Next I went to my httpd.conf file and added this virtual host:
<VirtualHost 209.135.140.211:80>
ServerName www.floridasnook.com
ServerAlias floridasnook.com
ServerAdmin junk@g...l.com
DocumentRoot /home/floridasnook/
ScriptAlias /cgi-bin/ /home/floridasnook/cgi-bin/
TransferLog /var/log/httpd/floridasnook_access_log
ErrorLog /var/log/httpd/floridasnook_error_log
</VirtualHost>

Then I created /home/floridasnook/ and placed an index.html file there.

I tried to run /etc/init.d/httpd restart but it said:
Stopping httpd: [FAILED]
Starting httpd: httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

So, I contacted technical support and they replied:

"Did you configure your domain server on your virtual server? The domain server will have to serve domain requests for your domains. Apache cannot start because it cannot resolve the main domain name of the virtual server. The configuration files for the dns server are in /etc/named.conf and /var/named."

------------------------------------------------------

So, then I went and did that and here are the files below:

This is /etc/named.conf:

options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};

//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};

//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};

zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};

zone "floridasnook.com" { type master; file "floridasnook.com"; };

zone "." IN {
type master;
file "parked.db";
};

include "/etc/rndc.key";

--------------------------------------------------

This is floridasnook.com:

$TTL 3600
@ IN SOA ns1.this-domain-name-is-available-for-sale.com. postmaster.ns.this-domain-name-is-available-for-sale.com. 2004032300 10800 3600 604800 3333
@ IN A 209.135.140.211
floridasnook.com. IN MX 10 mail.floridasnook.com.
floridasnook.com. IN NS ns2.this-domain-name-is-available-for-sale.com.
floridasnook.com. IN NS ns1.this-domain-name-is-available-for-sale.com.
ns1.this-domain-name-is-available-for-sale.com. IN A 209.135.140.211
ns2.this-domain-name-is-available-for-sale.com. IN A 209.135.140.211
www.floridasnook.com. IN A 209.135.140.211
mail.floridasnook.com. IN A 209.135.140.211

--------------------------------------------------

This is parked.db:

N SOA ns1.this-domain-name-is-available-for-sale.com. auto.this-domain-name-is-available-for-sale.com. (
2004033100 ; serial
7200 ; refresh
60 ; retry
604800 ; expire
3600 ) ; minimum
@ IN NS ns1.this-domain-name-is-available-for-sale.com.
@ IN NS ns2.this-domain-name-is-available-for-sale.com.
@ IN A 209.135.140.211
* IN A 209.135.140.211

--------------------------------------------------

This is my hosts file:

127.0.0.1 lincoln.rosehosting.com lincoln localhost.localdomain localhost
209.135.140.211 www.floridasnook.com mail.floridasnook.com floridasnook.com

--------------------------------------------------

I tried to run /etc/init.d/httpd restart again, but it still said:
Stopping httpd: [FAILED]
Starting httpd: httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

---------------------------------------------

I know my ip is 209.135.140.211 and I want floridasnook.com to work. the name servers for floridasnook.com are NS1.THIS-DOMAIN-NAME-IS-AVAILABLE-FOR-SALE.COM & NS2.THIS-DOMAIN-NAME-IS-AVAILABLE-FOR-SALE.COM.

Does anyone have an idea what could be wrong? Also, can I even have two dns servers (NS1.THIS-DOMAIN-NAME-IS-AVAILABLE-FOR-SALE.COM & NS2.THIS-DOMAIN-NAME-IS-AVAILABLE-FOR-SALE.COM) on one ip address? I only wanted to get one VPS. Do I basically have to purchase another server in order to have 2 dns servers? Is there any way around this?

What I would like, is to have a catch all that points every name parked on NS1.THIS-DOMAIN-NAME-IS-AVAILABLE-FOR-SALE.COM & NS2.THIS-DOMAIN-NAME-IS-AVAILABLE-FOR-SALE.COM to a php script. The php script will then show different pages based on what the domain name is that was visited by the end user.

Please help, I'm a bit lost... I need some guidance as I am new at this...

Any help would be greatly appreciated.

Bill