Hi guys, I'm very very new to this (started a couple of days ago) and I've been reading through the forums without understanding. The thing is; I have a "subdomain.mydomain.com" which I want to redirect to another website, but keep the URL bar static. Apparently, there's something about .htaccess, but I cannot for the love of my life understand how to do it. Also, I suppose I need an index.php, what do I write in that one? Sorry for the noobyness.
I am not sure how can we setup it using .htaccess but the easy way is, purchase the domain forwarding service for your domain and then redirect your subdomain with URL masking. Kailash
You do not need to understand the mumbo jumbo of .htaccess and do not need to purchase any forwarding service. You can use the below mentioned code at your subdomain to redirect that to another website. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>YOUR TITLE HERE</title> <meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8"> </head> <frameset border=0 rows="100%,*" noresize> <frame marginwidth=0 marginheight=0 frameborder=0 framespacing=0 name="TOPFRAME" src="YOUR WEBSITE URL HERE" noresize> </frameset> </html> Code (markup): You just need to save above code as index.htm and then need to upload it on your subdomain.