/etc/ip.remotedns usage & doc


Well-Known Member
Jan 17, 2004

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 domain.com pages to be hosted on my server (currently under domain.xyz.com), but still appear as domain.com.

I tried setting up an .htaccess file (in xyz.com/domain/):
RewriteEngine On
RewriteRule ^/(.*)$ http://domain.com/$1 [L,R]​
Also tried:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^domain\.com [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^/(.*) http://domain.com/$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.
Last edited: