Redirection to VirtualHost

ItsRs

New member
Joined
Jun 9, 2025
Messages
3
Hello,
we have a DA server with many VirtualHosts configured, their DNS zones, etc.
Now a customer has asked to setup the following case: he's the owner of a domain, let's call it "internaldomain.tld", which is part of a worldwide group providing a certain service.
The group HQ has asked to redirect a general/worldwide URL ( let's call it "externaldomain.tld" ) to "internaldomain.tld" (i.e.: when a user visits "externaldomain.tld", "internaldomain.tld" is displayed ).
The customer has provided the DNS records for the configuration of the external DNS but visiting "externaldomain.tld", the browser shows the webpage of the DA server which is just an Apache welcome page.

Is there any way to redirect the visitors to the right website?

Thanks in advance,
Mimmo
 
Hello zEitEr,
thank you for the answer. The only domain in DirectAdmin is "internaldomain.tld", with the correct IPv4 and IPv6 setup. The other domain is managed by other people on another server.
Do you mean that "externaldomain.tld" should be added on Direct Admin and setup as a pointer?

Thans,
Mimmo
 
If the only domain in DirectAdmin is "internaldomain.tld" with the correct IPv4 and IPv6 setup, then probably the webserver has a syntax error and it did not reload configs after you added the domain.

If a domain is added correctly in DirectAdmin and has a valid IPv4/IPv6 which match DNS, then the content of the domina's public_html should be shown.
 
Back
Top