Helo,
I want to redirect my subdomain to an internal URL.
For example when user types in someaddress.com he should see a homepage
but when xxx.someaddress.com is typed in I'd like to open http://someaddress.com/testpage
How to achieve this?
I already tried with:
<VirtualHost *:8089> DocumentRoot "c:\app" </VirtualHost> <VirtualHost sms.localhost:8089> ServerName smslocalhost Redirect permanent / http://localhost:8089/testpage </VirtualHost> Problem is that whatever I type in now, I get redirected to http://localhost:8089/testpage