Azure VM上的cPanel?

时间:2017-05-15 10:42:23

标签: linux azure centos cpanel

有人这样做过吗?我已设法安装它,但我是新手,不知道要指定什么作为服务器主机名。这是azure提供的DNS名称吗?因为我认为它不能是服务器的IP地址。

2 个答案:

答案 0 :(得分:0)

  

我已设法安装它,但我是新手,不知道是什么   指定为服务器主机名。这会是DNS名称吗?   azure提供?

您是对的,我们使用Azure公共IP地址的DNS名称作为主机名,如下所示: enter image description here

[root@jasonvm home]#hostname jasoncpanel.eastus.cloudapp.azure.com

安装Cpanel完成后,我们将获得以下信息:

enter image description here

然后,我们可以使用Cpanel登录此VM: enter image description here

注意
在Azure中,我们应首先重置root密码,这样我们就可以使用root登录Cpanel。

[root@jasonvm home]# passwd
Changing password for user root.
New password: 
BAD PASSWORD: The password contains less than 1 uppercase letters
Retype new password: 
passwd: all authentication tokens updated successfully.

答案 1 :(得分:0)

希望您现在可以访问它,我建议您与WHM支持部门联系,或者将您的问题移植到WHM社区以获得更好的帮助。

我建议检查防火墙规则以允许WHM端口上的流量