Re: Can't display an index.html on our public IP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Antony, thanks for your advices.

Actually we do not have control on the Nginx part, as it is managed by our VPS provider (which is IONOS).
The only access we have is on a Ubuntu server through a SSH connection.
That's why we installed Apache. And by the way, we can display the default Apache page you mentionned.

More precisely, here is our context :
According to you, how should we set up the hosts file ?

Regards,

Julien

Le lun. 21 nov. 2022 à 18:12, Antony Stone <Antony.Stone@xxxxxxxxxxxxxxxxxxxxx> a écrit :
On Monday 21 November 2022 at 17:59:58, Ju lien wrote:

> Hello,
>
> We are developers and supposed to create a website. The website is created
> but we are also supposed to put it on line through Apache.

The first thing I recommend that you do, then, is to remove nginx from the
machine.

In case you are not aware, Apache and nginx are both web servers, and you will
run into all sorts of trouble if you try to run both on the same machine.

I also recommend that you do no configuration of apache whatsoever, and make
sure you can get to the example web page which is supplied with every
installation of Apache I have come across.

Here is a random example I just found from a Google search:
http://www.lukminer.net/

Once you can get your web server to show *that*  then you are ready to start
configuring it for your own content.


Antony.

--
“If code doesn’t receive constant love, it turns to shit.”

 - Brad Fitzpatrick, Google engineer

                                                   Please reply to the list;
                                                         please *don't* CC me.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux