Domain Pointers redirect to a specific page

LawsHosting

Verified User
Joined
Sep 13, 2008
Messages
2,418
Location
London UK
Just like Web Forwarding will do.

Say someone wants to point a pointer domain to a specific page on the main domain,eg

domain2.com (pointer) to domain.com/domain2redirect.htm (main)

So basically, allow them to enter a page to the main domain name on the CMD_DOMAIN_POINTER page, eg/:
Source Domain http://www. [field] --> domain/[extra_field] eg: sourcedomain.com
note: The extra_field can be disabled if an Alias is wanted.

Then in /usr/local/directadmin/data/templates/redirect_virtual_host.conf add something like
Redirect 301 / http://www.|DOMAIN|/|[PAGE|

I'd like to see this as a customer has asked if we do this.........
 
Back
Top