Virtual Hosting Issues

Just installed Apache on my Linode server. I intend on using multiple virtual hosts. I'm posting the code from my "sites-available" file… go to the address "skyportgames.com" and there's a strange "parking" page there that I've never seen…

 <virtualhost xx.xx.xx.xx:80="">ServerAdmin admin@sumaxian.com
        ServerName skyportgames.com
        ServerAlias www.skyportgames.com
        DocumentRoot /srv/www/skyportgames.com/public_html/</virtualhost> 

5 Replies

Open Command Prompt, if in Windows, or use nslookup from shell.

Do an nslookup of your domain. Make sure that your DNS servers at your location return something actually useful like the IP to your linode.

When I visited the site, it worked fine, except for the phpbb3 mysql error.

Really? I get an "Under Construction" page…

When you ping www.skyportgames.com does it resolve to 173.255.196.90?

If not, either your local DNS is messed up, or you still have an old value cached in your workstation (or a bad HOSTS file).

Very interesting. I agree with you, but it must be my local DNS. I've tried it from another machine under the same ISP and pinged a wrong address… wierd.

 Name: p9p.geo.mf0.yahoodns.net
Addresses: 67.195.145.142
                   67.195.145.141
Aliases: www.skyportgames.com

I will mention that I just recently swapped over the name servers with my domain provider. Maybe my ISP hasn't "caught up" with the changes, since I've visited the site today before the name servers were changed??

````
Default Server: google-public-dns-a.google.com
Address: 8.8.8.8

www.skyportgames.com
Server: google-public-dns-a.google.com
Address: 8.8.8.8

Non-authoritative answer:
Name: www.skyportgames.com
Address: 173.255.196.90
````

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