Why I have Access denied? – Homework, help a noob :(

Sorry for my horrible English. I am installing WordPress on a FedoraServer38 for a school paper. And I have the following error:

[ Yes, the server is called \\”Skywalker\\”])

These are the versions of PHP, MariaDB and Apache that I am using. The WordPress version is the 6.2

​

I tried removing the “.htacess” file, but the error persists. I even granted all permissions to the WordPress folder, but I can’t fix it. Furthermore, I have not even installed WordPress yet, the error appeared after placing the “wordpress” folder inside /var/www/html/.

Thank you so much for getting here and for trying to help.

1 Comment
  1. before using the WordPress installer, you need to set up a host in Apache to configure the server to recognize and serve your WordPress installation correctly. Here are the general steps to set up a host in Apache:

    Open the Apache configuration file: The location of the configuration file varies depending on your operating system and Apache installation. Common locations include /etc/apache2/httpd.conf, /etc/apache2/apache2.conf, or /etc/httpd/conf/httpd.conf. Use a text editor to open the file, my preference is Nano.

    Locate the virtual hosts section: Look for a section that starts with <VirtualHost *:80> or <VirtualHost *:443> (if you’re using HTTPS). This section defines the virtual hosts.

    Define a new virtual host: Within the virtual hosts section, add a new block of code to define your WordPress site. The basic configuration looks like this:
    “`
    <VirtualHost *:80>
    ServerName yourdomain.com
    DocumentRoot /path/to/wordpress
    </VirtualHost>
    “`
    Replace yourdomain.com with your actual domain name or server IP address, and /path/to/wordpress with the path to your WordPress installation on the server.

    Save the configuration file and exit the text editor.

    After making changes to the Apache configuration, restart the Apache service for the changes to take effect. The command to restart Apache varies depending on your operating system, but common commands are sudo service apache2 restart or sudo systemctl restart apache2.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer