Report this

What is the reason for this report?

www.domain.com redirects to domain.com/domain.com

Posted on January 30, 2014

Hey there,

For the life of me I can’t figure out what I’m doing wrong. My setup used to work fine but I’ve been tinkering with some settings and only later did I realise that my Apache (and/or .htacess) were redirecting requests from WWW.domain.com to domain.com/domain.com.

The domain that’s not redirecting is “www.timkranen.com”. Without the www it works fine, however.

I’m using multiple virtual hosts on my droplet. The other one , www.klassiekemuziek.tv (which is a wordpress site) is redirecting fine; i.e. from non-www to www.

Does anyone have any idea which settings i’m misconfiguring? Any help would be greatly appreciated!

pastebin .htaccess and virtual hosts: http://pastebin.com/ytva0fNg

Cheers, Toon

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.