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.

Modifications to httpd.conf for dedicated IP Clients

Discussion in 'Bind / DNS / Nameserver Issues' started by Kevin Archambault, Dec 29, 2015.

  1. Kevin Archambault

    Kevin Archambault Registered

    Joined:
    Dec 29, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal, Canada
    cPanel Access Level:
    DataCenter Provider
    Hi,

    Actually, we are having a client with a dedicated IP assigned to one website. The Website is accessible via https://ip_address/ but not from http://ip_address/. When going to the unsecured version, it even doesn't pops under the client account. Is there a walkaround we can use to fix this up?

    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Is this the only account assigned to the IP address? If so, try rebuilding the Apache configuration file via:

    Code:
    /scripts/rebuildhttpdconf
    Thank you.
     
  3. Kevin Archambault

    Kevin Archambault Registered

    Joined:
    Dec 29, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal, Canada
    cPanel Access Level:
    DataCenter Provider
    Actually, we already tried that... It is the only account linked to the IP...
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can make the Virtual Host for this domain name the default Virtual Host for the IP address by manually editing the Apache configuration as referenced in this thread:

    Tip: Overriding the default Apache virtualhost

    Thank you.
     
  5. Kevin Archambault

    Kevin Archambault Registered

    Joined:
    Dec 29, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal, Canada
    cPanel Access Level:
    DataCenter Provider
    Actually, we found out that the page showing up on the http://ip_address is in a subdomain of the account itself /home/username/public_html/folder instead of straight in the public_html straight... Is there anything we can do to fix it up quickly?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can delete the subdomain, leave the contents in-place, and then re-add the subdomain to see if that helps. Or, you can move the Virtual Host of your choosing ahead of the subdomain Virtual Host per the instructions in the thread linked in my last response.

    Thank you.
     
Loading...

Share This Page