Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Sep 2002
    Location
    US
    Posts
    101

    Default Problems with Change Site's IP Address command and Addon Domains

    Hello,

    I was wondering if anyone has had problems when using the Change Site's IP Address command in WHM on a domain that has addon domains on top of it.

    I tried it yesterday for several domains and the problem was that the IP indeed changed but all the addon domains were switched to parked.

    That was a major issue as instead of showing the addon domain's particular site all the domains were showing the main site. We had to manually unpark the domains and add them again using Addon Domains on each particular CPanel.

    Has anyone found a solution?

    My specs: WHM 8.5.1, Cpanel 8.5.3-S3, WHM X Skin 2.1.1

    Warmest Regards,

    elenlace

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge myusername's Avatar
    Join Date
    Mar 2003
    Location
    chown -R us.us *yourbase*
    Posts
    712
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    This has been a problem for quite some time, and it is real fun trying to fix all the lost addon domains.

    I had to switch the site back to the original IP and then re-add the addon Domains.

    I submitted a bug report and help request about 3 months ago and they said to the likes of:

    "This seems to be a bug in cPanel. We will look into it"

    Apparently the fix has never come to be.

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2003
    Posts
    37

    Default

    I am experiencing this issue too.. any suggestions???

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2003
    Posts
    37

    Default SOLVED

    I know what it does. When you have an add-on domain, cPanel sets up a separate virtual host container for the subdomain it is associated with and it adds the add-on domain as a "ServerAlias" under each of these vhosts. When you change the IP, cpanel instead places the ServerAlias under the main domain's virtual host entry in error. This makes cPanel think the domains are parked instead of add-ons. You can remove the ServerAlias line from the main domain's vhost entry and add "ServerAlias domain.com *.domain.com" instead to the subdomain associated with it's vhost entry in httpd.conf.

  5. #5
    Member
    Join Date
    Nov 2003
    Posts
    521

    Default

    I wonder if cpanel knows bout this fix

  6. #6
    Registered User
    Join Date
    Nov 2004
    Posts
    4

    Angry Same Features Different Problem

    Apparently when I add a new domain period OR change a sites ip address (or anything to do with whm editing the httpd.conf file) It doesn't edit it right. I have NameVirtualHost Parameters all over the place for the same ip with the same virtualhosts all over the place just different edited versions by whm. Whm is NOT doing what its suppose to do when it comes to httpd.conf file of apache. I have to manually fix this everytime one of my 50 clients adds a domain or I change or add an account. This means that daily i have to go into httpd.conf and see if anyone has changed anything. This is a Pain. PLEASE CPANEL.NET FIX THIS in your next RELEASE update (and stable for that matter). Not just my server either. Here is an exerpt from one of my client's dedicated servers (btw we're on hostdime)
    <VirtualHost 64.132.144.20>
    ServerAlias www.louisvillelunatik.com louisvillelunatik.com
    ServerAdmin webmaster@louisvillelunatik.com
    DocumentRoot /home/koolaid/public_html
    BytesLog domlogs/louisvillelunatik.com-bytes_log
    ServerName www.louisvillelunatik.com
    User koolaid
    Group koolaid
    CustomLog domlogs/louisvillelunatik.com combined
    ScriptAlias /cgi-bin/ /home/koolaid/public_html/cgi-bin/
    </VirtualHost>


    <VirtualHost 64.132.144.20>
    ServerAlias www.undergroundhacks.com undergroundhacks.com
    ServerAdmin webmaster@undergroundhacks.com
    DocumentRoot /home/merlin/public_html
    BytesLog domlogs/undergroundhacks.com-bytes_log
    ServerName www.undergroundhacks.com
    User merlin
    Group merlin
    CustomLog domlogs/undergroundhacks.com combined
    ScriptAlias /cgi-bin/ /home/merlin/public_html/cgi-bin/
    </VirtualHost>





    NameVirtualHost 64.132.144.24:80



    NameVirtualHost 64.132.144.20:80


    <VirtualHost 64.132.144.24>
    ServerAlias www.llama-world.com llama-world.com
    ServerAdmin webmaster@llama-world.com
    DocumentRoot /home/llama1/public_html
    BytesLog domlogs/llama-world.com-bytes_log
    ServerName www.llama-world.com
    User llama1
    Group llama1
    CustomLog domlogs/llama-world.com combined
    ScriptAlias /cgi-bin/ /home/llama1/public_html/cgi-bin/
    </VirtualHost>


    NameVirtualHost 64.132.144.23:80

    <VirtualHost 64.132.144.23>
    ServerAlias www.subliminal-shock.com subliminal-shock.com
    ServerAdmin webmaster@subliminal-shock.com
    DocumentRoot /home/sh0k3/public_html
    BytesLog domlogs/subliminal-shock.com-bytes_log
    ServerName www.subliminal-shock.com
    ServerAlias y4hoo.net www.y4hoo.net
    User sh0k3
    Group sh0k3
    CustomLog domlogs/subliminal-shock.com combined
    ScriptAlias /cgi-bin/ /home/sh0k3/public_html/cgi-bin/
    </VirtualHost>



    <VirtualHost 64.132.144.20>
    ServerAdmin webmaster@dark-assault.com
    DocumentRoot /home/wendyvis/public_html
    BytesLog domlogs/dark-assault.com-bytes_log
    ServerName www.dark-assault.com
    User wendyvis
    Group wendyvis
    ServerAlias dark-assault.com www.dark-assault.com
    CustomLog domlogs/dark-assault.com combined
    ScriptAlias /cgi-bin/ /home/wendyvis/public_html/cgi-bin/
    </VirtualHost>



    NameVirtualHost 64.132.144.22:80







    <VirtualHost 64.132.144.20>
    ServerAdmin webmaster@yahoo-assault.org
    DocumentRoot /home/viz/public_html
    BytesLog domlogs/yahoo-assault.org-bytes_log
    ServerName www.yahoo-assault.org
    User viz
    Group viz
    ServerAlias yahoo-assault.org www.yahoo-assault.org
    CustomLog domlogs/yahoo-assault.org combined
    ScriptAlias /cgi-bin/ /home/viz/public_html/cgi-bin/
    </VirtualHost>

    ErrorDocument 400 /400.shtml
    ErrorDocument 401 /401.shtml
    ErrorDocument 403 /403.shtml
    ErrorDocument 404 /404.shtml
    ErrorDocument 500 /500.shtml
    ScriptAlias /cgi-sys/ /usr/local/cpanel/cgi-sys/
    Alias /sys_cpanel/ /usr/local/cpanel/sys_cpanel/
    Alias /java-sys/ /usr/local/cpanel/java-sys/
    Alias /img-sys/ /usr/local/cpanel/img-sys/
    Alias /akopia/ /usr/local/cpanel/3rdparty/interchange/share/akopia/
    Alias /neo-images/ /usr/local/cpanel/base/neomail/neo-images/
    ScriptAliasMatch ^/cpanel/(.*) /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAlias /cpanel /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAlias /whm /usr/local/cpanel/cgi-sys/whmredirect.cgi
    ScriptAlias /securewhm /usr/local/cpanel/cgi-sys/swhmredirect.cgi
    ScriptAlias /webmail /usr/local/cpanel/cgi-sys/wredirect.cgi
    ScriptAliasMatch ^/webmail/(.*) /usr/local/cpanel/cgi-sys/wredirect.cgi
    ScriptAliasMatch ^/kpanel/(.*) /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAlias /controlpanel /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAlias /securecontrolpanel /usr/local/cpanel/cgi-sys/sredirect.cgi
    Alias /mailman/archives/ /usr/local/cpanel/3rdparty/mailman/archives/public/
    ScriptAlias /mailman/ /usr/local/cpanel/3rdparty/mailman/cgi-bin/
    Alias /pipermail/ /usr/local/cpanel/3rdparty/mailman/archives/public/
    Alias /interchange/ /usr/local/cpanel/3rdparty/interchange/share/interchange/
    Alias /interchange-5/ /usr/local/cpanel/3rdparty/interchange/share/interchange-5/

    <VirtualHost 64.132.144.22>
    ServerAlias www.booter-mania.com booter-mania.com
    ServerAdmin webmaster@booter-mania.com
    DocumentRoot /home/booterm/public_html
    BytesLog domlogs/booter-mania.com-bytes_log
    ServerName www.booter-mania.com
    User booterm
    Group booterm
    CustomLog domlogs/booter-mania.com combined
    ScriptAlias /cgi-bin/ /home/booterm/public_html/cgi-bin/
    </VirtualHost>


    NameVirtualHost 64.132.144.21:80

    <VirtualHost 64.132.144.21>
    ServerAlias www.carlmann.net carlmann.net
    ServerAdmin webmaster@carlmann.net
    DocumentRoot /home/carl/public_html
    BytesLog domlogs/carlmann.net-bytes_log
    ServerName www.carlmann.net
    User carl
    Group carl
    CustomLog domlogs/carlmann.net combined
    ScriptAlias /cgi-bin/ /home/carl/public_html/cgi-bin/
    </VirtualHost>


    <VirtualHost 64.132.144.20>
    ServerAlias www.realm-hosting.com realm-hosting.com
    ServerAdmin webmaster@realm-hosting.com
    DocumentRoot /home/nvizible/public_html
    BytesLog domlogs/realm-hosting.com-bytes_log
    ServerName www.realm-hosting.com
    User nvizible
    Group nvizible
    CustomLog domlogs/realm-hosting.com combined
    ScriptAlias /cgi-bin/ /home/nvizible/public_html/cgi-bin/
    </VirtualHost>
    Now tell me what's wrong with that picture ...........
    Last edited by l3ean; 11-23-2004 at 05:36 PM.

Similar Threads & Tags
Similar threads

  1. I lose dedicated IP address after Change Site's IP Address
    By asiansexynine in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-26-2010, 11:52 AM
  2. Change Site's IP Address using command line
    By inteltechs in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-27-2007, 01:47 AM
  3. change site's ip from command line.
    By kabaras in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 04-20-2006, 06:44 PM
  4. Chage Site IP address breaks addon domains
    By hbouma in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 10-17-2004, 03:19 AM
  5. [ BUG ] Change Site IP Address >> Problems with PROFTD + Shared IPs.
    By cass in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-02-2003, 03:34 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube