Skip to main content

Configure website on IP.

Comments

15 comments

  • kernow
    The domain name must have its own dedicated IP address.
    0
  • imran_khan
    Hello Kernow, Thanks, I have only one IP address and it is already bind with xyz.com domain. Thanks, Imran Khan.
    0
  • Infopro
    [quote="imran_khan, post: 1480311">Hello, I want to configure/run web site on IP address. Means I want to access the website through IP Address not domain. And also let me know, Later how can I revert website from IP Address to domain. Actually I have created the cpanel account with xyz.com (actual domain is different) but currently I want to access this through IP Address and later will want to access it through actual domain name. Please let me know the step by step procedure. Thanks, Imran Khan.
    The documentation is your friend. Change Site's IP Address - cPanel Documentation
    0
  • imran_khan
    Hello Infopro, Already tried the mentioned document method but no luck. Thanks, Imran Khan.
    0
  • Infopro
    [quote="imran_khan, post: 1480372">Hello Infopro, Already tried the mentioned document method but no luck. Thanks, Imran Khan.
    When you say, no luck, what do you mean by that exactly? I'll be happy to help you thru the docs if I can.
    0
  • imran_khan
    Hello, I want to access the web site through IP Address. Please let me know, how can I do this? Thanks, Imran Khan.
    0
  • Infopro
    Once you've set the account to have it's own Dedicated IP properly, according to the docs I've linked you to, you'd visit it in your browser at /http://123.45.6789
    0
  • imran_khan
    Hello, I have checked the dedicated IP option when created cpanel account and I was accessing web site via IP Address and suddenly it stopped. Can I again assign dedicated IP address to the account from the Cpanel and WHM? Thanks, Imran Khan
    0
  • Infopro
    No, changing the account to a Dedicated IP is done from in WHM, as explained in the documentation I've linked you to.
    0
  • imran_khan
    Hello, You mean to say, I can not assign again same dedicated IP Address to the same account after creation? Thanks, Imran Khan.
    0
  • Infopro
    If its already assigned to the account, no, I don't think you can re-assign it a second time. It's already assigned to the account. You might reassign the account back to the main shared IP used for other accounts though. Once you've done that, the dedicated IP on your system you had assigned previously to this account, would be free to be reassigned to some other, or that same account even, again. HTH!
    0
  • imran_khan
    Hello, Thanks. So why I am not accessing web site via IP Address? It is redirecting to
    0
  • Infopro
    You might check to make sure the IP was properly added to the DNS zone template. Home " DNS Functions " Edit DNS Zone, accountname.com
    0
  • imran_khan
    Hello, Can I run below command to fix this issue? From the command line: /scripts/rebuildhttpdconf /scripts/restartsrv_httpd or /scripts/autorepair userdir_enable_fix /scripts/restartsrv_httpd From the WHM: Service Configuration -> Apache Configuration -> Global Configuration -> Save -> Rebuild Configuration and Restart Apache Thanks, Imran Khan. [COLOR="silver">- - - Updated - - - Hello, Yes domain is properly added in DNS. Thanks, Imran Khan.
    0
  • cPanelMichael
    Hello :) You can try rebuilding the Apache configuration file via: /scripts/rebuildhttpdconf
    It's important to ensure the account is assigned a dedicated IP address. This IP address can not be assigned to any other accounts, and it can not be configured as the main shared IP address of the server. Thank you.
    0

Please sign in to leave a comment.