TransWikia.com

Control Panel or admin dashboard not found

Craft CMS Asked by falcon on March 23, 2021

I have installed craftcms 3 on my localhost. It got installed and the following screen appeared:
screen which appears

If I click on Control Panel I see the following screen

error 404 not found

2 Answers

As @user suggested, Just create a virtual host by following the below mentioned steps.

Complete Article : Virtual Host

  1. sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/craftcms.local.conf

  2. sudo nano /etc/apache2/sites-available/craftcms.local.conf

  3. Paste the below lines in above file (craftcms.local.conf)

     <VirtualHost *:80>
            ServerName craftcms.local
            ServerAdmin webmaster@localhost
            DocumentRoot /var/www/html/craftcms/web/
            ErrorLog ${APACHE_LOG_DIR}/error.log
            CustomLog ${APACHE_LOG_DIR}/access.log combined
    
            <Directory /var/www/html>
                     Options Indexes FollowSymLinks MultiViews
                     AllowOverride ALL
                     Require all granted
            </Directory>
    </VirtualHost>
    
    # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
    
  4. sudo a2ensite craftcms.local.conf

  5. sudo service apache2 restart

  6. sudo nano /etc/hosts

    add a new hosts at the end of this file like 127.0.0.1 craftcms.local

  7. Open your browser and hit craftcms.local frontend and craftcms.local/admin for admin

Correct answer by inrsaurabh on March 23, 2021

You need to set the web server to host from the /web directory. At present it looks like you are serving a folder that contains the Craft folder.

Answered by dmatthams on March 23, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP