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:
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/):
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.
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.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.
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:RewriteRule ^/(.*)$ http://domain.com/$1 [L,R]
RewriteEngine On
RewriteCond %{HTTP_HOST} !^domain\.com [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^/(.*) http://domain.com/$1 [L,R]
No luck.RewriteCond %{HTTP_HOST} !^domain\.com [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^/(.*) http://domain.com/$1 [L,R]
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: