Domain forwards in DirectAdmin/Drupal 8

0

1

I hope the Super User community can help me but sorry if this is a question for Stack Overflow or Drupal community instead.

My website currently Drupal 8 installation runs on a dedicated server. All different country versions are currently available on our .com domain (global: example.com & US version: example.com/en-us).

We also own 57 other domains which we want to get forwarded to the .com domain, preferably to the correct country version as well (example.co.uk ==> example.com/en-gb & example.nl ==> example.com/nl-nl).

All domains have the Dedicated Server its IP address set in the DNS records. and in DirectAdmin I created domain pointers (as aliases, but tried pointers as well) for each domain within our .com domain.

How should I proceed to get the alternative domains forward properly to the correct country version within our .com domain.

I always managed to do this in Cpanel, but DirectAdmin is quite new for me.

Current behaviour If is currently go to example.nl i get the following message:

The provided host name is not valid for this server.

And if I check the Google Chrome Dev tools I get a 400 Bad Request error.

Hopefully, someone can help!

Many thanks!

mark kuijpers

Posted 2019-04-30T12:11:38.250

Reputation: 1

No answers