Thanks... I have my domains registered elsewhere and I'll certainly look into using as third provider for my DNS. I fixed the above by getting a new IP address because I'm nort ready to fiddle around with the Apache configuration until I better know what I'm doing. On a related note, my htaccess file previously looked like this and was redirecting example.com to www.example .com...
RewriteEngine on
rewritecond %{http_host} ^example.com [nc]
rewriterule ^(.*)$ http://www.example.com/$1 [r=301,nc]
rewritecond %{the_request} ^[A-Z]{3,9}\ /(([^/]+/)*)index\.xhtml\ HTTP/
RewriteRule index\.xhtml$ http://www.example.com/%1 [R=301,L]
I now need to 301 the IP address to the domain name and have changed my file to...
RewriteEngine on
RewriteCond %{HTTP_HOST} ^[0-9]+(\.[0-9]+){3} [OR]
RewriteCond %{HTTP_HOST} ^example\.com
RewriteRule (.*) http://www.example.com/$1 [R=301,L]
rewritecond %{the_request} ^[A-Z]{3,9}\ /(([^/]+/)*)index\.xhtml\ HTTP/
RewriteRule index\.xhtml$ http://www.example.com/%1 [R=301,L]
I patched it together with bits I found elsewhere on webmasterworld but there are a few differences between a couple of the lines. Everything seems to be working as it should and the IP version seems to be 301ing to the domain name version of each page, as is the previous rules to non-www to the www.example.com version... but I hope someone can look carefully at what I've done to see if they can spot any potential problems, or any obvious errors I may have made?...
[edited by: Asia_Expat at 5:10 am (utc) on April 6, 2008]