10.04 adding new domain/virtual host not working.

So I followed the steps here:

http://library.linode.com/lamp-guides/u … .04-lucid/">http://library.linode.com/lamp-guides/ubuntu-10.04-lucid/

The whois record shows the updated name servers pointing to ns1.linode.com etc.

If I ping www.cardinaltogo.com results in an unknown host error. I have tried reloading and rebooting my server, and other websites served up by the linode are still running.

My virtualhost file looks like this:

 <virtualhost xxx:80="">ServerAdmin matt.sencenbaugh@gmail.com
        ServerName cardinaltogo.com
        ServerAlias www.cardinaltogo.com
        DocumentRoot /srv/www/cardinaltogo.com/public_html/
        ErrorLog /srv/www/cardinaltogo.com/logs/error.log
        CustomLog /srv/www/cardinaltogo.com/logs/access.log combined</virtualhost> 

And all the logs are created as well as an index.html in the public_html folder.

I've followed this process before but am stumped as to why it didn't work this time. Any help would be greatly appreciated!

3 Replies

http://library.linode.com/linode-manage … de-manager">http://library.linode.com/linode-manager/configuring-dns-with-the-linode-manager

It appears to be working OK here, and I get your index.html (I presume; it says "Works"). What happens when you try dig from your local machine? If I had to guess, your local nameserver has a negative response cached, and it's waiting for the TTL on that to expire.

$ dig www.cardinaltogo.com

; <<>> DiG 9.7.0-P1 <<>> www.cardinaltogo.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34863
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.cardinaltogo.com.        IN  A

;; ANSWER SECTION:
www.cardinaltogo.com.    253 IN  A   173.230.144.7

;; Query time: 28 msec
;; SERVER: 208.67.222.222#53(208.67.222.222)
;; WHEN: Thu Oct 21 15:25:53 2010
;; MSG SIZE  rcvd: 54

Thanks Stever… forgot to actually create the DNS records.. I suppose that would be helpful :D

And thanks for replying as well Hoopycat

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct