user9165100
user9165100

Reputation: 411

apache server authentication

I'm completely new to server management, so this is probably a silly question I followed the instructions given on https://ubuntu.com/tutorials/install-and-configure-apache. I also updated the gci.conf file (test example)

Once done, I try to launch my server with service apache2 reload, upon which I'm asked for authentication. I use the sudo password (the only password I have on this machine), enter "gci.example.com" in the address bar and get this response

"This site can’t be reached"

The Apache installation requirements are Ubuntu Server 16.04 LTS; I run Ubuntu 20.04.2 LTS. I'm not thrilled about changing OS as I need it only for local website development (forms and the works). I'm also fine with running some other software where I can develop websites using WordPress.

thanks,

Andreas

Upvotes: 0

Views: 308

Answers (1)

Example person
Example person

Reputation: 3346

You will need to edit /etc/hosts file, and add:

127.0.0.1 gci.example.com

But I would suggest you to use localhost.

Upvotes: 1

Related Questions