Version Affected: All
Overview
When two SecureAuth servers sit behind a VIP or DNS round-robin, you may need to route traffic to just one of them -- for example, to test a single server directly. Editing the local hosts file on the client machine makes a permanent route change to one server without needing to change the VIP or DNS configuration itself.
Edit the Hosts File
- Open Command Prompt in administrative mode, or open a text editor such as Notepad++ as administrator.
- Navigate to C:\Windows\System32\drivers\etc. If using an elevated Command Prompt, run notepad hosts from that folder to open the hosts file in an elevated Notepad session.
- Add a new line with the IP address you want to route to, followed by the hostname you want to resolve to that IP -- for example, 102.54.94.97 rhino.acme.com. Save the file.
- Test the change. For example, run ping <hostname> from the same machine and confirm the reply comes from the IP address you specified.
SecureAuth Knowledge Base Articles provide information based on specific use cases and may not apply to all appliances or configurations. Be advised that these instructions could cause harm to the environment if not followed correctly or if they do not apply to the current use case.
Customers are responsible for their own due diligence prior to utilizing this information and agree that SecureAuth is not liable for any issues caused by misconfiguration directly or indirectly related to SecureAuth products.
Comments
Please sign in to leave a comment.