+1

Windows local dns hosts file is found at c:\windows\system32\drivers\etc. Is there a similar hosts file in ubuntu / linux and where to find the same?

1 answers, +1 votes, 270 views
oid4a44559432d46's picture
asked by oid4a4455943...
37 weeks 13 hours ago



1 Answers

Answer
+1

Ubuntu linux local dns file is at /etc folder called hosts i.e /etc/hosts
 
You can add entries like the following <ip address> <host or domain name>
for example
192.168.1.1    www.yourowndomainnamessssss.com

fruper's picture
answer by fruper
34 weeks 6 days ago

Asked by

oid4a44559432d46's picture
User offline. Last seen 20 weeks 13 hours ago. Offline
joined 37 weeks 13 hours ago
43 points

View in your own language!