![将 mydomain.fr “镜像”到 mydomain.com/france/](https://linux22.com/image/680072/%E5%B0%86%20mydomain.fr%20%E2%80%9C%E9%95%9C%E5%83%8F%E2%80%9D%E5%88%B0%20mydomain.com%2Ffrance%2F.png)
我如何“镜像”/将各种特定域名指向给定的.com/suburl/
?
例子:
mydomain.fr > mymaindomain.com/france/
mydomain.se > mymaindomain.com/sweden/
我目前有以下 .conf 设置:
<VirtualHost *:80>
ServerName u13nuym
ServerAlias u13nuym.somedomain.DK www.mydomain.com mydomain.com www.mydomain.dk mydomain.dk
MaxClientsVHost 32
<Directory />
AAHatName u13nuym
Options FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>
我已负责将具有正确 A 记录的各种域名指向服务器。
答案1
尝试使用 .htacces
# This allows you to redirect your entire website to any other domain
Redirect 302 / http://mt-example.com/