What I'm trying to do is a bit complicated and not sure if possible. Here it goes:I have one main domain maindomain.com which corresponds to an event. Then I have several other domains, let's say location1.com, location2.com, location3.com which correspond to different locations where the event is held... MAIN OBJECTIVEThe maindomain.com is hosted in a VPS (Virtual Private Server (Bluehost)). I've developed a website ready to display different info depending on the ?loc variable you pass by GET in the index.php. I want the other domains to point to the maindomain.com, use the index.php?loc=1 (or 2 or 3) but keep their original domain name at the URL bar.THE CHALLENGESo the tricky part is when navigating within these location domains to keep the permalink clean in the URL bar:location1.com/section1 --> loads --> maindomain.com/index.php?loc=1&sect=1location2.com/section3 --> loads --> maindomain.com/index.php?loc=3&sect=3Should I use domain/hosting options and/or .htaccess ??EDITI think the more specific question is: how do I configure each location domain to point at the main domain where the hosted site is? ANOTHER (BETTER) EXAMPLEazsuperexpo.com/about --> loads --> thesuperexpos.com/index.php?loc=3&sect=2--> Having superexpos.com the main domain where the website/database is hosted BUT what you see in the address bar is azsuperexpo.com/aboutI want to have one central site which retrieves the info from its database but on the address bar of your browser you will see the different domains with correspondent permalinks to the different sections (loaded via php variables fetched from the database). I think I will definitely have to use .htaccess to have the urls pretty like the example above. Would masking be an option? I know it's not recommended by search engines but if it's the only option I'm willing to give it a try. Thanks a billion.
Several domains pointing to one hosting but keeping separate URLs
domains;web hosting;htaccess;redirects;php
This is what worked:1) I pointed (DNS) each domain (location1.com, location2.com...) to where maindomain.com is hosted.2) In the hosting plan I added each domain as PARKED DOMAIN.3) In the .htaccess I had to define each domain as follows:# location1.com# -------------    RewriteCond %{HTTP_HOST} ^www\.location1\.comRewriteRule ^$ index.php?loc_id=1 [L]RewriteRule ^home$ index.php?loc_id=1&sect_id=1 [L]# ...and so on for any other subsection# location2.com# -------------    RewriteCond %{HTTP_HOST} ^www\.location2\.comRewriteRule ^$ index.php?loc_id=2 [L]RewriteRule ^home$ index.php?loc_id=2&sect_id=1 [L]# ...and so on for any other subsection