Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Oct 17, 2010 7:33 am 
Offline
Newbie

Joined: Sun Oct 17, 2010 7:23 am
Posts: 2
I deployed a fresh ubuntu 10.04 and followed the LAMP guide in the library. I am able to access domain.com but www.domain.com times out. Here is my configuration:

DNS:

Code:
; example.com [125849]
$TTL 3600
@   IN   SOA   ns1.linode.com. me.example.com. (
               2010101729
               14400
               14400
               1209600
               3600
            )
@      NS   ns1.linode.com.
@      NS   ns2.linode.com.
@      NS   ns3.linode.com.
@      NS   ns4.linode.com.
@      NS   ns5.linode.com.
@         MX   10   mail.example.com.
@         A   XX.XXX.XXX.XXX
www         A   XX.XXX.XXX.XXX
mail         A   XX.XXX.XXX.XXX


/etc/apache2/ports.conf:

Code:
NameVirtualHost XX.XXX.XXX.XXX:80
Listen 80


/etc/hosts:

Code:
127.0.0.1       localhost.localdomain   localhost   hostname
XX.XXX.XXX.XXX  hostname


/etc/apache2/sites-available/default:

Code:
<VirtualHost XX.XXX.XXX.XXX:80>
        ServerAdmin me@example.com

        DocumentRoot /var/www
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>

        ErrorLog /var/log/apache2/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>


/etc/apache2/sites-available/example.com:

Quote:
<VirtualHost XX.XXX.XXX.XXX:80>
ServerAdmin me@example.com
ServerName www.example.com
ServerAlias example.com
ServerAlias www.example.com
DocumentRoot /srv/www/example.com/public_html/
ErrorLog /srv/www/example.com/logs/error.log
CustomLog /srv/www/example.com/logs/access.log combined
</VirtualHost>


The url in question is http://www.parkerault.com/

I followed the guide to the letter, so can anyone spot what I did wrong?

EDIT: using
Code:
XX.XXX.XXX.XXX hostname.example.com hostname
in /etc/hosts doesn't change the behavior.


Top
   
 Post subject:
PostPosted: Sun Oct 17, 2010 8:43 am 
Offline
Senior Newbie

Joined: Sat Jul 17, 2010 8:32 am
Posts: 12
http://www.parkerault.com/ resolves for me. It didn't when I first clicked on the link, but upon a force-refresh it did. Maybe you could try clearing your DNS cache or the like.


Top
   
 Post subject:
PostPosted: Sun Oct 17, 2010 10:11 am 
Offline
Newbie

Joined: Sun Oct 17, 2010 7:23 am
Posts: 2
TheSpectre wrote:
http://www.parkerault.com/ resolves for me. It didn't when I first clicked on the link, but upon a force-refresh it did. Maybe you could try clearing your DNS cache or the like.


Ahh, could have been openDNS or the fact that I am behind the not-so-great firewall of thailand. Thanks for the reply.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group