-1

我需要在 AWS 中将我的子域重定向到同一个子域,但包含文件夹名称。例如,我在 AWS 中创建了一个子域 prev.subdomain.com,它的 A 记录指向 CrazyDomain 托管的公共 IP(这是托管网站的位置)。我想做的是在 AWS 中创建一个重定向,如果我在 URL 中键入 prev.subdomain.com,它将重定向到 prev.subdomain.com/folder。

供参考。subdomain.com 的 DNS 管理在 AWS 中。

4

1 回答 1

1

it cannot be done on dns layer.. but can be easily done using .htaccess or configuration file of your web server like apache or nginx

于 2020-11-06T02:30:35.090 回答