Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Alias hostname for localhost Ask Question. Asked 8 years, 3 months ago.
Active 5 years, 4 months ago. Viewed 92k times. Assuming that a local Python-Script is running a webserver. Add a comment. Browse All Community Hubs. Turn on suggestions. Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. Showing results for. Show only Search instead for. Did you mean:. Sign In. Published Sep 20 AM Automatic SPN management for Kerberos authentication. Aliases pointing to a computer name, not an IP address To create a computer name alias, it's a very simple process.
To confirm, do one of the two following steps: 1a. Verify ComputerName Aliases The most important part to confirm is after we have finished all of this work.
Verify Service Principal Names The most important reason to do all of this work is to have all of the Kerberos magic done for you.
Remove Computer Alias The ability to remove the alias is just as easy. Tags: alias. Version history. Maslow Maslow 2 2 gold badges 9 9 silver badges 18 18 bronze badges. MikeKeller - The OP specifically said he didn't want to use the hosts file, and the hosts file as I understand it, at least only works on a name-to-IP basis - it can't deal with name-to-name associations. I'm very interested in seeing an answer to this. One problem that I've run into recently is trying to map the same network location more than once - Windows won't let you do it.
You can map it twice by using the name for the first one, and the IP for the second. If there is a way to alias names, one might be able to map the same network location a bunch of times. Add a comment. Active Oldest Votes. So you can so something like: Improve this answer. Maslow - Yup, and the root of the answer is, "use DNS". We know the DNS entry exists, but how can we confirm the computer object contains all of the appropriate aliases? The most important reason to do all of this work is to have all of the Kerberos magic done for you.
This can also be verified once the above sets of steps are completed. The ability to remove the alias is just as easy. Below are some troubleshooting tips if you run into errors when trying to create a computername alias. Make sure you have connection to the domain controller.
0コメント