Results 1 to 1 of 1

Thread: /etc/ip.remotedns usage & doc

  1. #1
    Member spiff06's Avatar
    Join Date
    Jan 2004
    Posts
    87

    Question /etc/ip.remotedns usage & doc

    ip.remotedns

    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:
    64.202.165.19,68.178.211.202 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
    nameserver.
    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 by spiff06; 01-05-2007 at 02:34 PM. Reason: Edited for clarity

Similar Threads

  1. ips.remotedns
    By moses in forum New User Questions
    Replies: 2
    Last Post: 12-22-2009, 12:03 AM
  2. Disk Usage Summery & Details
    By rajuru in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 06-01-2008, 03:43 AM
  3. Troubleshooting memory & swap usage
    By headout in forum cPanel & WHM Discussions
    Replies: 8
    Last Post: 04-25-2007, 02:22 AM
  4. mysqld & stange cpu usage
    By [JZ] in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 08-04-2006, 06:52 AM
  5. PHP & newapi.txt usage
    By Ron in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 03-24-2003, 07:40 AM