SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    I solve practical problems. bronze trophy
    Michael Morris's Avatar
    Join Date
    Jan 2008
    Location
    Knoxville TN
    Posts
    2,034
    Mentioned
    65 Post(s)
    Tagged
    0 Thread(s)

    Server responds to IP address but not by name - Ubuntu Apacache 2.2

    I am trying to sort out why a server I'm working with, running in a virtual machine, will not respond by name. I know the OS overall recognizes the name cause I have a putty session to the vm by name. So it has to be the vhost config.

    Ran: sudo apache2ctl -t -D DUMP_VHOSTS
    Results:
    Code:
    VirtualHost configuration:
    wildcard NameVirtualHosts and _default_ servers:
    *:443                  is a NameVirtualHost
             default server newturkey.trollandtoad.com (/etc/apache2/sites-enabled/trollandtoad-ssl:3)
             port 443 namevhost newturkey.trollandtoad.com (/etc/apache2/sites-enabled/trollandtoad-ssl:3)
    *:80                   is a NameVirtualHost
             default server newturkey.trollandtoad.com (/etc/apache2/sites-enabled/trollandtoad:2)
             port 80 namevhost newturkey.trollandtoad.com (/etc/apache2/sites-enabled/trollandtoad:2)
    That seems ok. I'm running out of ideas. Help?

  2. #2
    Utopia, Inc. silver trophy
    ScallioXTX's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    9,084
    Mentioned
    153 Post(s)
    Tagged
    2 Thread(s)
    Doesn't the server respond at all, or do you some kind of "It works!" lame Apache page?
    If you don't get anything (server doesn't respond at all), have you checked the firewall? (probably iptables if we're talking linux. You can check with iptables -L -n)

    What happens when you telnet or curl to the server, do you get something?
    Rémon - Hosting Advisor

    SitePoint forums will switch to Discourse soon! Make sure you're ready for it!

    Minimal Bookmarks Tree
    My Google Chrome extension: browsing bookmarks made easy

  3. #3
    I solve practical problems. bronze trophy
    Michael Morris's Avatar
    Join Date
    Jan 2008
    Location
    Knoxville TN
    Posts
    2,034
    Mentioned
    65 Post(s)
    Tagged
    0 Thread(s)
    Yeah we did. It was a complicated mess of things that where wrong, but they've been resolved. Sorry to bother everyone.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •