Quantcast
Channel: LowEndTalk
Viewing all articles
Browse latest Browse all 60869

I'm desesperate with Apache and DNS

$
0
0

Hello. I'm desesperate now! I don't know what I've done to have this! Damn you, Karma!

TL;DR:

If I enter to www.mysite.com, it will go to my site, but if I enter to: mysite.com, it will go to the default virtualhost :/

My dns have:

myip - A - mysite.com www - CNAME - @ (the domain)

apache config:

<VirtualHost *:80> ServerName mysite.com ServerAlias www.mysite.com ServerAdmin webmaster@mysite.com DocumentRoot /var/www/mysite ErrorLog /var/log/apache2/mysite-error.log CustomLog /var/log/apache2/mysite-access.log combined <Directory "/var/www/mysite"> Options FollowSymLinks -Indexes -MultiViews AllowOverride All allow from all </Directory> </VirtualHost>

What is happening? :c

thanks! :*


Viewing all articles
Browse latest Browse all 60869

Trending Articles