Forums

[resolved] Redirecting issue on local port (2 posts)

  1. myhobby2
    Member
    Posted 2 years ago #

    Due to the fact that I'm running several sites parallel at home, I want to have WordPress on port 8008 instead of 80.

    So far this is the result

    http://192.168.1.2:8008/readme.html ->shows OK
    http://192.168.1.2:8008/wp-admin -> shows OK
    http://192.168.1.2:8008 -> Home.html not found

    index.php is in the directory with 777 rights. Index.html or index.html is not in this directory.

    Did I mis any setting in wp-admin ?

    Thanks in advance

  2. myhobby2
    Member
    Posted 2 years ago #

    Googled on "pointing DirectoryIndex to index.php by creating .htaccess file"

    Used this information:

    http://www.boutell.com/newfaq/creating/directoryindex.html

    And executed this step:

    Configuring Apache Via .htaccess Files
    You can also configure Apache via a .htaccess file, either in your website's document root (where your home page lives) or in a subfolder (if you only want the changes to apply to that folder). This works on both Linux/Unix and Windows systems.

    It's simple! Just create a text file called .htaccess containing this line:

    DirectoryIndex index.html index.htm index.php index.shtml index.shtm

    Just drop that file into your website's home directory ("document root").

    -> That did the Job.

Topic Closed

This topic has been closed to new replies.

About this Topic