Hello,
I on a Linux server with Apache / PHP.
My PHP app is available at
http://myapp.mydomain.com
myapp is a virtal host (pointing
on my server to /var/www/myapp )
I also add a DNS inscription for
newname.mydomain.com
so my app is now also available
using
http://newname.mydomain.com
I would like that when a user write
http://myapp.mydomain.com
the url automatically change (in the browser)
to
http://newname.mydomain.com
because I'd prefer users use newname instead of
myapp.
What's the best way to do this ?
Kind regards
Sebastien