Joined October 2018
·

taco_cat

Posted to Python + Django + Apache + Ubuntu over 1 year ago

Hi Madhu. You said create the virtual host file django so that you may put all your django site configurations in one place. And then you asked to give the command : sudo a2ensite django but I get the error "ERROR: Site django does not exist!" . My site name is mycoolsite.com which is what I have specified inside my django virtual host file.

Also, what do you mean by add your site to /etc/hosts ? That file already had " 127.0.0.1 local host " written in it. Should I edit it to 127.0.0.1 mycoolsite.com ?

Achievements
1 Karma
0 Total ProTip Views