1 個回答
- 最新
- 最多得票
- 最多評論
1
Hello.
Is it possible for you to share the web server configuration file?
Also, could you please share the directory structure up to the document root?
Just to be safe, if you are using Apache, you can distribute document roots for each domain with the following settings.
https://httpd.apache.org/docs/2.4/en/vhosts/name-based.html
<VirtualHost *:80>
# This first-listed virtual host is also the default for *:80
ServerName www.example.com
ServerAlias example.com
DocumentRoot "/www/domain"
</VirtualHost>
<VirtualHost *:80>
ServerName other.example.com
DocumentRoot "/www/otherdomain"
</VirtualHost>
相關內容
- AWS 官方已更新 8 個月前
- AWS 官方已更新 8 個月前
- AWS 官方已更新 9 個月前
- AWS 官方已更新 2 年前