I'm trying to get domain.fi and domain.com to point to the same DocumentRoot, without the domain changing in the browser url. Is that possible with Apache?
I've got the both domains pointing to the same DocumentRoot and working, but the domain.com changes to domain.fi in the browser url.
Best Answer
Use a
Redirect
to domain.com within theVirtualHost
for domain.fi. For this to work mod_alias must be loaded.You could also specify any standard
VirtualHost
settings desired, such asCustomLog
.