Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

/etc/ip.remotedns usage & doc

Discussion in 'Bind/DNS/Nameserver' started by spiff06, Jan 5, 2007.

  1. spiff06

    spiff06 Well-Known Member

    Jan 17, 2004
    Likes Received:
    Trophy Points:

    Ok, I've successfuly set up an addon on my server, after going into Tweak Settings and allowing creation of domains resolving to other servers.

    However, my initial attempt met with this familiar error message:
    Error from park wrapper: Using nameservers with the following IPs:, Sorry, the domain is already pointed to
    an IP address that does not appear to use DNS servers associated with
    this server. Please transfer the domain to this servers nameservers or
    have your administrator add one of its nameservers to
    /etc/ip.remotedns and make the proper A entries on that remote
    What, exactly, is the syntax of /etc/ip.remotedns? It seems like that would be a more reasonable solution than the tweak.

    Subdomains and mod_rewrite (related)

    A related issue came up with subdomain url rewriting: I'd like pages to be hosted on my server (currently under, but still appear as

    I tried setting up an .htaccess file (in
    RewriteEngine On
    RewriteRule ^/(.*)$$1 [L,R]​
    Also tried:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^domain\.com [NC]
    RewriteCond %{HTTP_HOST} !^$
    RewriteRule ^/(.*)$1 [L,R]​
    No luck.

    I don't think I'm doing anything unreasonable with mod_rewrite here (unless I'm missing something really obvious), so it looks like Apache just serves the subdomain, ignoring mod_rewrite.

    Would this be solved more gracefully with proper settings in ip.remotedns?

    Any help with this would be appreciated.
    #1 spiff06, Jan 5, 2007
    Last edited: Jan 5, 2007

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice