Mobile app version of vmapp.org
Login or Join
Si4351233

: Apache 2.4, www.domain.de working but not domain.de I just moved to a new Host with my website and reinstalled the web server (this time apache 2.4) I'm not very used to the virtual hosts,

@Si4351233

Posted in: #Apache #Domains #Redirects

I just moved to a new Host with my website and reinstalled the web server (this time apache 2.4)
I'm not very used to the virtual hosts, but I managed to get my subdomain forum.domain.de running (working directory /var/www/html/forum.domain.de
Now what I wanted was that if someone trys to go on domain.de that he will be redirected to the forum.domain.de

for that I created a simple index.php in /var/www/html with a 301 redirect to the forum.domain.de

when I now try to connect domain.de it will redirect me to the forum, but if I try to connect to domain.de (without "www." all I get is a connection timed out...

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Si4351233

1 Comments

Sorted by latest first Latest Oldest Best

 

@Cofer257

SOLVED:

The problem was indeed a DNS problem BUT not on DNS-side
when I checked the A record it pointed to the correct IP address, but the wrong IP address is cached somewhere on my local computer

ANSWER:

so how did I solve the problem was to flush the DNS caches:


I was using Chrome Browser, flushing DNS cache like answered here and then flushing the socket pools like in the next answer
flushing the Windows DNS cache like explained here

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme