domain not working
I have a linode that hosts several domains on apache2. However, only one of them does not work. It goes to the standard "not found page", the one that says "It works!". All the rest of my domains, such as the-status.net work, but mtgames.org doesn't. It's like it isn't even parsing my mtgames.org config file, because going to mtgames.org/doc yields a 404, not, apparently, what it should.
Any help is appreciated.
Which IPs are your domains meant to point to?
x@bastet:~$ host mtgames.org
mtgames.org has address 126.96.36.199
mtgames.org has address 188.8.131.52
mtgames.org has IPv6 address 2400:cb00:2048:1::adf5:3d28
mtgames.org has IPv6 address 2400:cb00:2048:1::adf5:3d71
mtgames.org mail is handled by 10 direct-connect.mtgames.org.
x@bastet:~$ host the-status.net
the-status.net has address 184.108.40.206
the-status.net has address 220.127.116.11
the-status.net has IPv6 address 2400:cb00:2048:1::c71b:872a
the-status.net has IPv6 address 2400:cb00:2048:1::adf5:3d76
the-status.net mail is handled by 10 mtgames.org.
Are those IPs set to where they're meant to be?
It's like it isn't even parsing my mtgames.org config file
I would see if 'apachectl -S' gives you any clues, if your logs are helpfully.
As to why the IP's are different, I am using cloud flare, which has many different IP's to lessen the risk of an attack taking down many sights. I'm pretty sure that's as it should be.
Now in apachectl -S, I see something quite interesting, but I can't find any reason why.
The line looks like this:
port 80 namevhost mtgames.org (/etc/apache2/sites-enabled/000-default:1)
I don't get why that file is pointing to mtgames.org, because it doesn't have any ServerName directive in that file.