Problem with virtual host
I'm having a problem with one of my websites, and I was wondering if anyone might know offhand why I'm having issues. I have three websites on my Linode, and up until July 1st they were all working fine. However, now when trying to reach one of my websites, I instead reach another one of the websites located on the same server. The default virtual host is not active, and the virtual host files have the correct permissions, and are in the right place. My third website is also still reachable.
Again, nothing was changed from the working configuration. I'm pulling my hair out over this, so any help would be appreciated!
Thanks!
11 Replies
I'm happy to share any details you require. What .conf files/details would you like? The sites-available/sites-enabled listings are correct (AFAIK), so I'm fairly sure that's not the problem, although I'll get you whatever info will move things along.
Thanks!
Please provide a little more information. Don't be shy about including your domain names (that is a subtle hint) because it's next to impossible for us to replicate the issue without them.
Also, have you changed anything on your server between July 1 and when this problem occurred? Updated a config file? Maybe fixed something in an htaccess file? Added a new IP address? Changed your DNS servers? Anything you've done could be the culprit (these computer machines are finicky things).
MSJ
The website that I'm having a problem with is espn.synklynk.com. It redirects to rightsworkshop.com, which is on the same server. What's weird (to me at least, as I'm comparatively a noob) is that synklynk.com is still reachable. The sites-available and sites-enabled files are all in order (I think; the file is identical to the other sites' files save for the corresponding info for each site).
I really, really appreciate you taking the time to have a look at this. Beers are on me.
@callitaclue:
I really, really appreciate you taking the time to have a look at this. Beers are on me.
Only if you provide all your vhosts in sites-enabled can anyone help.
Your IP (173.255.223.231) displays rightsworkshop.com, so it could be that espn.synklynk.com isn't configured correctly and therefore displays the default domain for your server.
And you haven't made any changes to anything on your server? espn.synklynk.com worked properly as recently as July 1? Have you restarted your server? Do you get any errors when you restart your httpd service? What do your Apache logs show when accessing espn.synklynk.com?
@callitaclue:
I'm happy to share any details you require.
Why turn your post into a boorish thread of "twenty questions".
Just post ALL THE FREAKING DETAILS so that people can understand what your setup is and hopefully spot the problem.
Don't "assume" anything is ok, because if it was, it would be working instead of being broke.
A couple of things: the server was rebooted, but only after things stopped working (July 6th, I believe). As for the logs, the access log doesn't list anything after June 30th, which is how I (perhaps incorrectly) deduced that the site stopped working on July 1st.
/etc/apache2/httpd.conf file is empty. I can't run httpd from the command line (it's a daemon, but I should be able to call it from the command line, no?)
Sites-available folder: 000defaultTRW dbase.rightsworkshop.com default default-ssl espn.synklynk.com li279-231.members.linode.com rightsworkshop.com saltysounds.com sevenseasmusic.com synklynk.com
Again, I appreciate the help.
Thanks to everyone who tried to help. At the very least, I have a better understanding how everything works, and what to include when asking for help in the future.