Skip to main content

WHM works through Hostname but not IP

Comments

2 comments

  • HostSane
    looks you have changed some settings in Tweak settings option of WHM, e.g. SSL redirection . please check on it.
    0
  • cPanelLauren
    Hi @trafficpullz While it may be useful to check tweak settings as suggested by @HostSane I tested very briefly and wasn't able to replicate an issue with mod_userdir when using the hostname opposed to the ip address. Can you let me know the following: 1. What is the ouput when you run the following curl -kvv http:///~$USER curl -kvv http://$HOSTNAME/~$USER
    then the same with https you can remove any php/html output I am looking for the portion that looks similar to the following: [root@server ~]# curl -kvv http:///~$USER/ * About to connect() to port 80 (#0) * Trying ... * Connected to () port 80 (#0) > GET /~$USER/index.html HTTP/1.1 > User-Agent: curl/7.29.0 > Host: > Accept: */* > < HTTP/1.1 200 OK < Date: Tue, 27 Nov 2018 19:33:32 GMT < Server: Apache < Last-Modified: Mon, 12 Nov 2018 15:59:19 GMT < Accept-Ranges: bytes < Content-Length: 19 < Vary: User-Agent < Content-Type: text/html <
    2. What are your mod_userdir settings right now? Please do not include any output that is personally identifying but include as much detail as possible. Thanks!
    0

Please sign in to leave a comment.