Website Not Showing

Issues related to applications and software problems
Post Reply
User avatar
FazzaGBR
Posts: 15
Joined: 2017/12/05 15:54:11

Website Not Showing

Post by FazzaGBR » 2017/12/05 15:58:26

I'm new to Linux so I'm learning a lot as I go along on a very sharp learning curve!

I've installed CentOS 7 from the minimal ISO.

I've followed the instructions here to install a CMS website called concrete5:

https://www.vultr.com/docs/how-to-insta ... n-centos-7

When I open a web browser and browse to the server I get this message:

Forbidden - You don't have permission to access / on this server.

Not sure how to about fault-finding this so need some help please! :)

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Website Not Showing

Post by TrevorH » 2017/12/05 16:03:52

We don't recommend use of the webtatic repo for anything. If you need a newer php then use either an SCL (parallel install) by first installing yum install centos-release-scl then picking your php packages from the list given in yum list \*php71\* or use a third party repo called IUS which supplies well maintained and well packaged replacement php packages called things like php71u*. You'll need to install their ius-release package to get access to those.

Where did you put your docroot? There's a reason why that tutorial uses /var/www/html and you should do so too if you didn't already. If you did use /var/www/html but you used mv to move your files there then running restorecon -RFv /var/www/html may well fix it for you.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
FazzaGBR
Posts: 15
Joined: 2017/12/05 15:54:11

Re: Website Not Showing

Post by FazzaGBR » 2017/12/06 08:14:28

TrevorH wrote: restorecon -RFv /var/www/html may well fix it for you.
It most certainly did so I can now finalise the installation - thanks! :)

Post Reply