[OSM-talk] [OT] mod_rewrite

Mike Collinson mike at ayeltd.biz
Sat Dec 15 17:29:32 GMT 2007


At 12:34 PM 15/12/2007, Nick Whitelegg wrote:

>> If that rule is in a section which applies to newforest.free-map.org
>>  vhost (like when the rule is in the default vhost section), then
>> you are done with apache configuration. I have done these kind
>> of rewrites several times.
>> You can, of course, create an extra vhost entry for newforest.free-map.org
>> and put the rewrite there.
>> But...
>> It looks like newforest.free-map.org.uk is not resolvable.
>> So you have to fiddle with your dns zone configuration and add
>> an entry for *.free-map.org.uk or for newforest.free-map.org.uk.
>
>Do I need to ask my hosting provider to do this?

If I am picking up the right end of the stick, yes, you do. Or more specifically, whoever looks after the DNS configuration for the site, which is probably your hosting provider.

You probably want to ask for "wild card DNS" resolution so that *.free-map.org.uk and free-map.org.uk all get sent to the same IP address.  And if your hosting is on a virtual machine, you may need to make sure that your hosting provider then sends incoming *.free-map.org.uk requests to your webserver.

I just ran some tests and it looks like this currently (slightly edited). I am not sure why the newforest.free-map.org.uk domain name gives the result it does.


C:\>nslookup free-map.org.uk

Non-authoritative answer:
Name:    free-map.org.uk
Address:  80.68.89.163


C:\>nslookup www.free-map.org.uk

Non-authoritative answer:
Name:    www.free-map.org.uk
Address:  80.68.89.163


C:\Documents and Settings\Michael Collinson>nslookup newforest.free-map.org.uk

Name:    newforest.free-map.org.uk

C:\>nslookup ftp.free-map.org.uk

*** UnKnown can't find ftp.free-map.org.uk: Non-existent domain

C:\>nslookup mail.free-map.org.uk

*** UnKnown can't find mail.free-map.org.uk: Non-existent domain

C:\>nslookup howisyourfather.free-map.org.uk

*** UnKnown can't find howisyourfather.free-map.org.uk: Non-existent domain

C:\>ping newforest.free-map.org.uk
Ping request could not find host newforest.free-map.org.uk. Please check the name and try again.

C:\>ping www.free-map.org.uk

Pinging www.free-map.org.uk [80.68.89.163] with 32 bytes of data:

Reply from 80.68.89.163: bytes=32 time=295ms TTL=50
Reply from 80.68.89.163: bytes=32 time=41ms TTL=50
Reply from 80.68.89.163: bytes=32 time=41ms TTL=50
Reply from 80.68.89.163: bytes=32 time=41ms TTL=50







More information about the talk mailing list