Forum Moderators: phranque
I am trying to put something back into the sport I love. Clubs are struggling for funds and I am offering them a vehicle to attract sponsorship dollars on their own named website without the cost of registering a domain and taking out their own hosting etc.
I have a server setup which allows me to support unlimited sub-domains so the concept is to offer them a template website, weekly result publishing and their own sub-domian name relevant to their location.
Example townsville.mysport.net.au whilst www.mysport.net.au is the registered domain I hold.
However I would like to hide the redirect string to the sub-directory in the browser.
For example
www.mydsport.net.au/townsville/index.html
would look much better and more professional as
townsville.mysport.net.au
Currently the webserver shows exactly what the redirection says it should which means the "clubs" won't see their sub-domain address but my domain name, sub-director and index.htm url.
Any suggested script or suggested solutions much appreciated
Thanks
kangated
Welcome to WebmasterWorld!
mod_rewrite is Apache's URL-rewriting module, and probably *can* help with your problem, subject only to server restrictions outside mod_rewrite itself. However, it's also a potentially-complex subject, so you'll need to study up on it a bit. There are some references in our forum charter [webmasterworld.com] to help you get started. Your chance of success will increase dramatically if you are conversant with the terminology, capabilities, and underyling functionality of mod_rewrite before starting.
Jim