windows


Access local computer Web Server with a domain not IP


Here in our company we have a computer with Win7 (not Server) running XAMPP (PHP) and ASP (IIS) for two applications. Different ports for each one, of course. So, this computer all the employees need to access with an IP like "172.XX.XX.XX:8090/etc/etc/xxxx". I want to know if have some way to change all this IP address to a domain name, like "ourcompany/etc/etc/xxx". It will make the employees life more easy. I've done some searches and found something with the "hosts" file of computer. But, as I know, it will change only for the computer access, to access without "localhost", but other users not from the computer will not access with "localhost" anyway, and yes with the IP, right?
If every computer is on the same network you don't need DNS. The network discovery is giving you the name of the computer anyway.
You can find out the name easily with this cmd command:
open cmd.exe
set | find "COMPUTERNAME"
or if you are a part of a domain(eg Active Director)
open cmd.exe
set | find "COMPUTERNAME"
set | find "USERDNSDOMAIN"
The value of computername and userdnsdomain concatenated are your "domain name" you're looking for. Every computer which is in the same domain(Active Directory) can access the computer.
Solution 1 : try free/commercial DNS solution
Maybe MaraDNS will help you. It is a security-aware DNS server. Here is a good tutorial on how to set it up on Windows 7.
There are also lots of DNS software like BIND, PowerDNS, Posadis or Unbound.
Simple DNS Server and Microsoft DNS looks really nice (but are not cheap).
Solution 2 : Install Windows Server
Microsoft DNS is included with Windows Server, you may virtualize such a server.
Solution 3 : MacGyver approved solution
If you have static IPs, placing the same hosts file on every computer is a cheap solution : c:\Windows\System32\Drivers\etc\hosts

Related Links

Windows Server Hyper-v container with Windows Server Core as base image
Moving files from Subfolders into root directory, but not copying them to the next directory when ran again
Catch 7zip stdout in real time using python 3
Windows 10 unable to delete files
Openvpn Tap-Windows driver C API
How can I get my printer driver to install on Windows 7 again
Can I sign a self-extracting exe with a certificate without the Code signing EKU?
ICO with compressed PNG images sometimes renders incorrectly
Send email using VBScript on Windows 7
Can user makes sharing folder in Active Directory?
PhpStorm saving with Linux line ending on Windows
Accessing windows server file:// file location in CMD
Run powershell script as microservice
Can C# windows form application can run Tablet Device Of Windows 10
How can I download IIS express by command?
Issue starting windows phone emulator

Categories

HOME
grok
angular2-material
obfuscation
sh
spring-data-redis
knitr
onclick
echo
trac
computer-science
accessibility
project
endeca
3nf
altera
android-7.0-nougat
asp.net-mvc-viewmodel
production
swagger-2.0
ag
question2answer
beta
game-theory
amazon-quicksight
linked-data
android-things
uitapgesturerecognizer
gitlab-api
xbox
simplecv
vue-chartjs
python-import
sql-delete
imx6
lubridate
getlasterror
video-capture
engine.io
openalpr
reactivekit
android-augmented-reality
password-protection
css-position
mongoose-schema
urlsession
numberpicker
branching-and-merging
plr
vaadin-charts
mesosphere
gitlist
chai-as-promised
configurationmanager
page-replacement
payara-micro
azure-cli
flac
jtree
rsa-archer-grc
renaming
pytables
omxplayer
mediametadataretriever
angular-ui-typeahead
gcloud-ruby
kiosk
qt5.2
fiware-monitoring
wiredep
oracle-spatial
android-launcher
opserver
dulwich
vacuum
avahi
omnifaces
aspectj-maven-plugin
adehabitathr
crowd
paw
xml-namespaces
file-not-found
eclipse-kepler
jeromq
workitem
nebula
joomla3.1
monotouch.dialog
saleslogix
subgraph
multiplexing
relative
denied
xui
socketserver
photolibrary
presentation-layer
isapi-extension
strtod
visualj#
leader

Resources

Encrypt Message