Frequently Asked Question

FAQ / General


how to add domain in ubuntu?

Step 1: Open the Terminal

Step 2: Open the host file using the command,

vi /etc/hosts

Step3: Press 'I' for Insert mode

In last line add <IP> <domain name>

101.102.103.104 yourdomain.com #(you can add a description here)

101.102.103.104 www.yourdomain.com

Step4 : Press Escape button and type :wq for save the content in file.


How this faq is helpful:

Not at all
helpful
Not much
helpful
Some what
helpful
Very
helpful
Extremely
helpful

What could be better? (Optional)
X
  Not related to my issue
  Too complicated explanations
  Too much information
  Incorrect information
  Unclear information
  Incomplete information
  Too old information
Do you have any other feedback about this faq ?
1000

Related Tags :