Hello,
I just got apache setup on a new linode server and everything is working fine when I go to the site with the ip address but when I try to go with my domain name I just get website unavailable from my DNS. My domain (tachometer.us) has the name servers set as ns1.linode.com, ns2.linode.com and ns3.linode.com and I have set up the domain in my DNS Manager on linode. In the DNS Manager the domain zone is tachometer.us and the primary DNS is ns1.linode.com and the A/AAAA Records are (blank), mail and www all pointing to my linode IP.
I used the linode library for setting up the virtualhost in apache (
https://library.linode.com/lamp-guides/ ... e-pangolin). I created /etc/apache2/sites-available/tachometer.us and filled it with this
Code:
<VirtualHost *:80>
# Admin email, Server Name (domain name), and any aliases
ServerAdmin matt@tachometer.com
ServerName www.tachometer.us
ServerAlias tachometer.us
# Index file and Document Root (where the public files are located)
DirectoryIndex index.html index.php
DocumentRoot /var/www/tachometer.us/public_html
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/tachometer.us>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
# Log file locations
LogLevel warn
ErrorLog /var/www/tachometer.us/log/error.log
CustomLog /var/www/tachometer.us/log/access.log combined
</VirtualHost>
I then used a2ensite tachometer.us and reloaded and restarted apache. It has been a few days now and the domain still will not work. When I look up the whois for my domain the correct nameservers are there but if I try to do a reverse DNS lookup in linode I get this error "No match was found for 'tachometer.us'. Reverse DNS must have a matching forward entry that points to one of your IPs." which I'm not 100% why it isn't pointing to my IP. I know it can take a few days for a dns to update but I'm starting to think I may have configured something wrong. Can anyone help me get to the bottom of this?