Dear Experts.
I have a domain registered www.example.com
and a subdomain subdomain.example.com
and a subdomain mail.example.com

I want my subdomain to redirect to another ip
and domain should be redirected to another ip

Like mail.example.com --> gmail.com
example.com-->173.00.158.**
subdomain.example.com -->> 154.**.589.46

Please help me..
Thanks in advance

Recommended Answers

Maybe you should show us what you had already tried?
My suggestion is to play with .htaccess

Jump to Post

All 3 Replies

Maybe you should show us what you had already tried?
My suggestion is to play with .htaccess

I want that in the address bar MY SUBDOMAIN WILL BE SHOWED [ sms.mydomain.com ]

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.