The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Force users to login with domain instead of server ip

Discussion in 'General Discussion' started by Aaron Hatton, Nov 7, 2012.

  1. Aaron Hatton

    Aaron Hatton Active Member

    Joined:
    Jun 19, 2012
    Messages:
    26
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    London, United Kingdom
    cPanel Access Level:
    Root Administrator
    Hello,

    I wish to force users to login to whm and cpanel using the domain of the server as it now has an ssl certificate instead of the IP for example:

    if they visit http://127.0.0.1:2082 they are now redirected to https://127.0.0.1:2083 however the IP does not have the SSL certificate installed so i would like:

    http/https://127.0.0.1:2082/2083 to be redirected to https://supersecure.server.com:2083

    Is this possible?

    Regards

    Aaron
     
  2. MilesWeb

    MilesWeb Well-Known Member
    PartnerNOC

    Joined:
    May 23, 2012
    Messages:
    174
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Is SSL installed on server's hostname OR any specific domain on the server ?
     
  3. Aaron Hatton

    Aaron Hatton Active Member

    Joined:
    Jun 19, 2012
    Messages:
    26
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    London, United Kingdom
    cPanel Access Level:
    Root Administrator
    The SSL is installed on the servers hostname...
     
  4. Aaron Hatton

    Aaron Hatton Active Member

    Joined:
    Jun 19, 2012
    Messages:
    26
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    London, United Kingdom
    cPanel Access Level:
    Root Administrator
    Sorry to 'BUMP' the thread but i really need a response on this...
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,481
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I'm not sure of an easy way to redirect users who visit the server IP like that. Why are they trying to access via the IP anyway?

    Not that there's anything here that will help with this really, but what are your settings here?
    Home » Server Configuration » Tweak Settings, Redirection tab
     
Loading...

Share This Page