isdedicatedip() requires one argument (this probably means a domain is missing from httpd.conf) at /usr/local/cpanel/Cpanel/DIp.pm line 43.

isdedicatedip() requires one argument (this probably means a domain is missing from httpd.conf) at /usr/local/cpanel/Cpanel/DIp.pm line 43.
Cpanel::DIp::isdedicatedip(“”) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 612
Whostmgr::Accounts::Create::_wwwacct(“hascgi”, “y”, “digestauth”, “n”, “maxftp”, “n”, “hasshell”, “y”, …) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 1926
Whostmgr::Accounts::Create::__createaccount(“maxpark”, “unlimited”, “plan”, “default”, “hasshell”, 1, “cgi”, 1, …) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 1976
Whostmgr::Accounts::Create::_createaccount(“maxpark”, “unlimited”, “plan”, “default”, “hasshell”, 1, “cgi”, 1, …) called at whostmgr/bin/whostmgr5.pl line 707
main::wwwacct() called at whostmgr/bin/whostmgr5.pl line 233
at /usr/local/cpanel/Cpanel/DIp.pm line 43.
Cpanel::DIp::isdedicatedip(“”) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 612
Whostmgr::Accounts::Create::_wwwacct(“hascgi”, “y”, “digestauth”, “n”, “maxftp”, “n”, “hasshell”, “y”, …) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 1926
Whostmgr::Accounts::Create::__createaccount(“maxpark”, “unlimited”, “plan”, “default”, “hasshell”, 1, “cgi”, 1, …) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 1976
Whostmgr::Accounts::Create::_createaccount(“maxpark”, “unlimited”, “plan”, “default”, “hasshell”, 1, “cgi”, 1, …) called at whostmgr/bin/whostmgr5.pl line 707
main::wwwacct() called at whostmgr/bin/whostmgr5.pl line 233


This error looks like it’s due to WHM not having a default IP set up in the “Basic WebHost Manager Setup” page. If you already created a cpanel account you might see the ip address shows “IP MISSING”. To fix this error, go into WHM >> Server Configuration >> Basic WebHost Manager® Setup >> Basic Config >> The IPv4 address (only one address) to use to set up shared IPv4 virtual hosts.

If it’s blank or showing the wrong ip address, add your main shared ip address and save it, it should show a message like:

Modifying “Shared Virtual Host IPv4 Address” from “” to “12.34.56.78”.

Then creating a new account should work properly. If you created any accounts with the missing ip, you might want to just delete and recreate it, otherwise you can edit the dns file within /var/named/ for the domain and then resave the dns.

Add Comment