Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

set domain name for localhost ubuntu

sudo nano /etc/hosts
# Add your Domain pointed to 127.0.0.1 or 0.0.0.0

127.0.0.1  domain.com

#Ctrl + O save Ctrl + X Exit
 
PREVIOUS NEXT
Tagged: #set #domain #localhost #ubuntu
ADD COMMENT
Topic
Name
6+5 =