SOLIDWORKS PDM – Create Local Host File Workaround as Temporary Solution

Article by GoEngineer on Sep 10, 2017

When to Create Local Host File Workarounds

It’s important to understand Local Host File workarounds for SOLIDWORKS PDM use are intended to serve as temporary fixes. The purpose of this document is to provide instructions for such a workaround until your network Domain Name Server (DNS) issues are resolved. Long term use of Local Host Files to facilitate network connections are known to cause connection problems in PDM. The IP Address used in the Local Host File entry is reliant upon static configuration. If IP Addresses are configured dynamically, a random IP Address will likely be assigned which will bypass the workaround.

Your DNS translates domain names to IP Addresses like to The same applies to servers with DNS translating their name to the IP Address. To override this function, you can edit a Local Host File to map specific domain/server names to the desired IP Address. This can be used to also block these connections as well, so it’s important to pay close attention to detail. If it’s been determined that your DNS is having trouble translating host names and IP Addresses, follow the Process instructions.


  • Click the Start button
  • Type: notepad
  • Right-click
  • Select Run as administrator
local file host workaround
  • Click File
  • Open
local file host workaround temp


  • C:\Windows\System32\drivers\etc\
    • If blank, change the file type from Text Documents to All Files as shown in the picture below
  • \hosts (double click to open)
solidworks pdm  create local host

Make necessary adjustments/entries in the host file to allow server IP Addresses. On a new line, enter the IP Address followed by the server name like in the picture below.

Items of Note:

  • Number signs (#) entered to the far left disable the command line; often used to leave notes
  • You may also use the same IP Address for multiple host names, such as:
    • 0.0.1 Archive_Server SQL_Server
archive server sql
  • Click File
  • Save
  • Close the window
solidworks pdm local host file


As mentioned previously, this process is to be used as a short-term fix to work around DNS issues. PDM was designed to use server names to avoid using dynamic IP connections. Once your DNS issues have been resolved, you may delete the command line entered from this process, then Save or enter a number sign (#) in front of the line command to disable it, then Save.

If you get stuck during this process, consult your IT Department or call GoEngineer PDM Tech Support. Please let us know if you have any questions.

About GoEngineer

GoEngineer delivers software, technology and expertise that enable companies to unlock design innovation and deliver better products faster. With more than 35 years' experience and tens of thousands of customers in high tech, medical, machine design, energy and other industries, GoEngineer provides best-in-class design solutions from SOLIDWORKS CAD, Stratasys 3D printing, Creaform & Artec 3D scanning, CAMWorks, PLM, Altair, and more

View all posts by GoEngineer


Get the latest articles delivered daily to your inbox, unsubscribe at any time.