You are not logged in.

#1 2016-05-31 00:11:45

stormraider
Member
Registered: 2016-05-30
Posts: 2

hi setting up nis

i have just began.

i have found out my public ip and am currently editin the hosts file
these instructions
https://wiki.archlinux.org/index.php/NI … securenets

tell me to insert this code into my hosts file

Configuration
/etc/hosts
Add your server's external (not 127.0.0.1) IP address to the hosts file. Make sure it is the first non-commented line in the file, yes, even above the localhost line, like so:
#
# /etc/hosts: static lookup table for host names
#
#<ip-address>    <hostname.domain.org>    <hostname>
#::1        localhost.localdomain    localhost
192.168.1.10   nis_server.domain.com   nis_server
127.0.0.1    localhost.localdomain    localhost nis_server
# End of file

is the 192.168.1.10 just for demo or is that the ip i use

because when i google myip i see my ip.

so if i use my ip then do i use it in the same format so i would be using
123.123.12.1 nis_server.domain.com   nis_server

or do i use my server domain i am trying to set
123.123.12.1 nis_server.mydomainiamcreating.com

i have thoroughtly searched and video'd and chatted and at a seriously lost?

Last edited by stormraider (2016-05-31 00:13:41)

Offline

#2 2016-05-31 04:47:22

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: hi setting up nis

Here external IP refers to the LAN IP. Use your LAN IP instead of your public IP.

Oh, and edit your thread title to something more meaningful.

Offline

Board footer

Powered by FluxBB