I need 1000 parked domains to redirect to a corresponding page.
For example, if one of the parked domains is "parkeddomain.com", then it must be redirected to http://example.com/landingpage/parkeddomain-com
Conditions:
- Only the root URL of the parked domains must be redirected, not example.com
- The browser url address must stay the same "parkeddomain.com"
The purpose is to create a simple system for a domain broker to host domains, each with one landing page per domain.
I will try to make this look less complicated, sorry. The idea is: redirect every domain to /landingpage/[thedomainname] except from the primary domain since that shows the homepage of the company website.
example.com
get redirected toexample.com/example-com
- but I don't get what The browser url address must stay the same "parkeddomain.com" should tell me - I would really suggest using virtual hosts