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


So then your CRM url is something like this


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




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


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

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: Logo

You are commenting using your 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.