Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

htaccess and masking

Status
Not open for further replies.

jesse1

Programmer
Aug 29, 2008
30
US
I am using cgiServer_name to read the url and forward to the correct folder. But I want to mask the url.
For example I have a sub domain "demo.mydomain.com" that points to mydomain.com/demo. It works but the url reads mydomain.com/demo, I want it to read demo.mydomain.com

I was told to use an htaccess file. I googled it but I just don't understand how to use it

Any guidance would be appreciated
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top