我在AWS上运行wordpress,AWS分配的公有域是“ec2-23-23-124-60.compute-1.amazonaws.com”,virtualhost设置如下:
<VirtualHost *:80>
ServerName remykits.com
DirectoryIndex index.php
DocumentRoot "/home/mysite/sites/blog"
LogLevel info
ErrorLog /var/www/vhosts/domain.com/log/error.log
CustomLog /var/www/vhosts/domain.com/log/access.log combined
</VirtualHost>
但是当我点击我博客中的链接时,url 变为“http://ec2-23-23-124-60.compute-1.amazonaws.com/”,我不知道如何解决它。