ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down.
Read our Farewell Blog Post for more details.
I was wondering if anyone can give me some guidance on the following:
Basically on my server i have http://<ip address>/demo/maths/ and http://<ip address>/demo/english/ set up. I also have 2 sub-domains e.g.
maths.example.com
and
english.example.com
.
My question is how can i get each sub-domain to point to the correct location above so when users type
maths.example.com
it takes them to http://<ip address>/demo/maths/ but in the address bar it show the sub-domain name and not the IP address?
If you pm me with the subdomain addresses and the addreses you want them to point to, I will create for you some htaccess mod-rewrite rules that you can use.