Redirect DNS to specific path

by Marco Garcia   Last Updated October 11, 2018 15:00 PM

A given client needs to point a domain to my IP. The problem is that when accessing through this subdomain it needs to "drop" at a certain URL.

For exemple: =>

How make this?

PS: Server is VPS with Apache (with WHM/cPanel).

Tags : redirect

Answers 1

This seems to be a job for a HTTP redirection. You can't do that with DNS.

See the Apache Redirect and Rewrite modules. You will need external redirects.

October 11, 2018 14:51 PM

Related Questions

Apache settings to prevent browser from redirect

Updated March 07, 2018 10:00 AM

IIS 8 URL Redirect on site level

Updated March 28, 2015 16:00 PM

In Nginx is there a way to log 301 redirects?

Updated June 09, 2017 17:00 PM