Web address instead of IP address on home network

Associate
Joined
25 Jul 2004
Posts
805
Location
.
I have just installed SugarCRM Community Edition on my home network (for use in a piece of uni coursework). To access it via a web browser, I have type the IP address of the 'server' in to the browser's address bar.

For future reference when I install another web based app, how can I access it via a URL, for example, http://crm.domainname.com etc?

many thanks

Phil
 
You need to give the ip a domain name and whatever device on the lan handles dns requests. If you haven't got one locally then it comes down to the router and very few have this ability although several open source ones (e.g. tomato) can be made to do this.

Whatever the case, you need to provide more info on your lan set-up.
 
Whatever the case, you need to provide more info on your lan set-up.

Thanks for the reply. My LAN setup isn't that sophisticated tbh. I have a WNR2000 router and a switch connected to the router. Thats about it really.
 
Playing with host files is never the answer imo but it would seem you dont have a choice with just a router.
 
You have a few options here, you could access it via ip address but just at it to a folder for example

ipaddress/folder1
ipaddress/folder2

If you want it to be domain name based you could edit the host file to point to your ipaddress for example ipaddress domainname.co.uk

Then if your using IIS you could add a custom http header for example when url.domainname.co.uk is typed into the browser it points to ipaddress/folder1. When abc.domainname.co.uk is typed into the browser it points to ipaddress/folder2 e.t.c

Hope it helps.
 
Back
Top Bottom