How to add your CRM 2013 server name to your hosts file

In your Dev environment/internal CRM environment you will often have big server names

 

it could be something like this

hosk-uk-ayz-01.dev.hosklimited.net

 

So then your CRM url is something like this

http://hosk-uk-ayz-01.dev.hosklimited.net/CRM2013/main.aspx

 

to make life a bit easier for yourself you can add the computer into your hosts file which will mean you can then use a smaller friendlier name

 

HoskDev01

 

which would come out like this

 

first you need to get the ip of the server

 

type cmd on your start menu

open the command line tool

type ping and the name of the server

ping hosk-uk-ayz-01.dev.hosklimited.net

this should return the ip address

 

Now you need to edit the hosts file.  This is a proper old windows file and on Windows 7 I found it here

if you can’t see the hosts file you might need to make some files not hidden, follow this guide
Then edit the hosts file
ip SPACE new server short name
111.22.333.44 HoskDev01
You may need to open and save the record as administrator.  or copy the file to your desktop, change it and copy it back over
now you should be able to access crm using your friendly, shorter name
Advertisements

One thought on “How to add your CRM 2013 server name to your hosts file

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s