• Resolved jo15765

    (@jo15765)


    Hi – when I navigate to localhost I get a page that shows index of /

    I am on Ubuntu – have installed Apache, MySQL, PHP and have set-up a user and database on the MySQL database. I input these credentials into my wp-config.php file.

    I have the WordPress installed in var/www/wordpress/

    Why am I only getting index of / instead of my WordPress install?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Does your default document root for “localhost” point to /var/www/wordpress? Usually, it goes to /var/www/html.

    Thread Starter jo15765

    (@jo15765)

    @sterndata – how would I check this?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    If you’re running your own Linux machine, you should be able to do this. If you don’t, (pardon me, but this is not meant to be mean or snarky), maybe you should not yet be running Linux. Please study the apache config docs for your flavor of Linux.

    Thread Starter jo15765

    (@jo15765)

    @sterndata – I am hosting and was just wanting to confirm. I am taking over the setup/install process from an employee who quit, and in my haste I did not notice the typo in the Document Root listed in etc/apache2/sites-enabled/000-default.conf

    Thanks for your guidance!

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    It’s always the little stuff that gets you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Navigating To LocalHost In Browser Does Not Show WP Install’ is closed to new replies.