【发布时间】:2018-12-22 20:11:15
【问题描述】:
我正在尝试让我的 localhost WordPress 网站上线。我从Hostgator.com 购买了域名,但我不想托管。我想要我的本地服务器 XAMPP 来托管我的 WordPress 网站,并且我想要我的测试域,例如 test.example.com。那么,我究竟需要做什么才能指向我的 XAMPP 服务器站点?例如,我的 WordPress 网站位于 localhost/wordpress,
期待伟大的回应。
【问题讨论】:
-
尝试托管您自己的公共 Web 服务器通常是一个非常糟糕的主意。 XAMPP 是为开发而设计的。
-
感谢您的回复。我只是将它用于测试目的。我也在使用tomcat服务器。请指导我完成整个过程。
-
可能有帮助(只需将 godaddy 替换为 hostgator):Pointing DNS name to IP address on local machine
-
@HPierce 我已经在使用 Hostgator。
-
@HPierce 请带我完成整个过程。如何使用 Hostgator 来做到这一点?
标签: php wordpress dns localhost subdomain