Skip to main content

Posts

Showing posts with the label static ip address

Assign Static IP in Ubuntu Server

To setup a domain, the server should assigned with a static ip address. Let's go ahead and assign static ip address on ubuntu server. 1. To should change your root password in order to proceed further. Type su  and enter your new password that already created, and logged in as a root . 2. Type ifconfig on the terminal window. If it is not showing ip addresses, then you need to install net-tools . Make a track of inet, netmask and broadcast ip addresses and open interfaces file located under etc/network directory. 3. You need to edit this file and make an entry of ip-addresses. Now scroll down and goto dhcp and press insert button to make an entry. replace dhcp  by typing static because we are assigning this server with a static ip-address.   Enter address , netmask , network , broadcast and gateway for your ubuntu server. Enter dns-nameservers , alongwith global dns. dns-nameservers ip address should be same with the ip-address of your server. Fi...