WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] All posts and pages go to the "It works!" page (19 posts)

  1. oicisonline
    Member
    Posted 1 year ago #

    I just installed/setup the latest WordPress on Ubuntu 12.04LTS. When I create a new page or post, all I get when I go to View it is:

    It works!
    This is the default web page for this server.

    The web server software is running but no content has been added, yet.
    Please help. Thanks in advance!

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    And where did you install WordPress on your server?

  3. oicisonline
    Member
    Posted 1 year ago #

    Thanks for the quick reply. I downloaded the wordpress package and installed the default location. I am logged in as the wordpress user and looking at the directory with WinSCP and it appears wordpress is installed at /home/ubuntu/wordpress. I just did a fresh generic install of Ubuntu and WordPress, and the same issue occurs. I get nothing other than the default page. even when i go to "view the posts"

  4. esmi
    Forum Moderator
    Posted 1 year ago #

  5. oicisonline
    Member
    Posted 1 year ago #

    http 404 Not found :(

  6. esmi
    Forum Moderator
    Posted 1 year ago #

  7. oicisonline
    Member
    Posted 1 year ago #

    same error. my site takes me directly to the inside of wordpress directroy. if i go to http://myhost/readme.html, i can see contents.

    thanks.

  8. esmi
    Forum Moderator
    Posted 1 year ago #

    I'm sorry but it sounds like something is seriously wrong with your server or your set up if you cannot even navigate to a basic .html file. Perhaps you should try asking on a Ubuntu forum?

  9. oicisonline
    Member
    Posted 1 year ago #

    i followed directions to a tee. i am not sure that ubuntu folks will help me resolve a wordpress issue. thanks for giving me some ideas. i will figure it out.

  10. oicisonline
    Member
    Posted 1 year ago #

    what is happening is that the default/home directory is wordpress. therefore navigating to /wordpress is impossible, because I'm already in it. I suppose I could put the create another wordpress directory and place the existing wordpress folder inside it. or, if i could redirect apache's home directory....

  11. jv8080
    Member
    Posted 1 year ago #

    Have you tried to use the localhost IP address? Should be (127.0.0.1).

  12. oicisonline
    Member
    Posted 1 year ago #

    i can't - i am using ubuntu server, not a gui.

  13. Did you installed WordPress via apt-get or aptitude? If so what is the package name and your Ubuntu version?

  14. Abhishek Ghosh
    Member
    Posted 1 year ago #

    You are saying you are accessing with WinSCP (that means you are a MS Windows user) and posting in localhost installation ? People will think you are asking how to install WordPress on my own Ubuntu PC for testing.

    By default, the WordPress folder should be in /var/www/ , var is located a level up from root in Win SCP.

    Follow any guide to setup a LAMP Server. That default "It Works" page (index.html) is generated by Apache2. That means Apache2 is running, it is quite nice!
    If you create a html webpage on /var/www/ like me.html , that will work fine.
    Read the Command Lind Guide here to install WordPress properly from "The actual command steps to install WordPress" step.
    Please note that, I have shown the example with CentOS. The commands will be different for Ubuntu (apt-get install software-name). You can watch a short video here for Ubuntu : http://youtu.be/TERFPogR3kc

    Plus you have to change the virtual host. It has been a private WordPress installation. That is good, no one can hack (pun intended). Hire someone to install properly and setup firewall if you can not do yourself or ask your webhosting company.

    There is another way you can try, you can install a nice Free Software, that is a web control panel named OpenPanel. Search in the above linked website. But you will need a clean Ubuntu installation.

  15. oicisonline
    Member
    Posted 1 year ago #

    Abhishek, I use a Windows client. the server is Ubuntu, and I installed the SSH, Apache, and MySQL features. The blog is for our internal use only, so I am not concerned about the firewall at this point. Thank you for your time.

  16. oicisonline
    Member
    Posted 1 year ago #

    Jan, I used apt-get. I installed the latest Ubuntu 12.04 LTS and the very latest wordpress. Thanks.

  17. oicisonline
    Member
    Posted 1 year ago #

    Jan, let me correct my post... I used wget http://wordpress.org/latest.tar.gz

  18. Abhishek Ghosh
    Member
    Posted 1 year ago #

    Basically it is difficult for us to understand who is an advanced user and who is a basic user and what is purpose if not explained. We take as normal publicly available website or just an installation on local computer for developmental purpose.

    For normal usage on Debian (or Ubuntu) there is not much difference in aptitude and apt-get command. You can read this quite informative thread :

    http://ubuntuforums.org/showthread.php?t=1724249

    Anyway, your basic question is actually related to core unix commands and server, not much to do with WordPress. This is actually the answer for you for Installing WordPress on Home folder:

    http://ubuntuforums.org/showthread.php?t=2032573

    It can not happen that Ubuntu forum will not help you, in case of further issue, please refer them to that thread and ask your specific need there.

    And you can use a GUI on remote server by installing Desktop and TightVNC through shell / PuTTY. That is actually easy way people use for internal secured works. But I will stop here as it is WordPress forum, not really intended for unix commands. There are other ways too like using Ubuntu's various features through packages.

  19. oicisonline
    Member
    Posted 1 year ago #

    what the problem ended up being is wordpress installed in the /var/www/wordpress directory. index.html exists at /var/www, so while my Admin page worked, the index.html did not redirect to /var/www/wordpress.

    I also had to add the following text to \var\www\index.html to redirect the blog:
    <html>
    <head>
    <meta HTTP-EQUIV="REFRESH" content="0; url=http://myhostname/wordpress/index.php">
    </head>
    </html>

    All is well, now. Thanks All for trying to help.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.