N
N
naneri2015-02-22 13:58:41
ubuntu
naneri, 2015-02-22 13:58:41

How to restore etc/hosts on Ubuntu 14.04?

I am currently migrating my site to DO and a problem arose:
I did everything according to this tutorial
, but then, due to the fact that I started doing nonsense in the sixth step, instead of setting up virtual hosts on my machine, I started fixing it on the droplet. Although I didn’t even need it, because I already had a domain.
Now, when I enter my site, I find myself in the var/www/html folder, and the address bar does not indicate the site name, but the ip of my droplet. How to be?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Tatarnikov, 2015-02-22
@Termvsrobo

Remove that "nonsense" and do it right. Once I wrote an article about how I installed apache2 on ubuntu. Read, it might help. If anything, write. Here is the article vk.com/kompjuternyj_doktor?w=wall-50006145_17%2Fall

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question