WordPress.org

Ready to get started?Download WordPress

Forums

Set Published not Draft as default. All so URL on Linux box. (4 posts)

  1. RaymondDay
    Member
    Posted 8 years ago #

    When I go to write under the "Advanced" it will auto have "Draft" but I went to set is as "Published". I can set it like that but I like it to be the default on "Published". Does any one know how I do that.

    All so I can only write to it when I am on a Windows PC. On a Linux PC the same address will not work. I write to it with my LAN not over the Web. I have it set up like this in Options:

    "WordPress address (URI):" http://small/wordpress

    I do have it on the web but I am at home and so it's going past my cable modem. I only give out the address to my family. I don't want it to slow down my upload speed a lot if I post it on the web. So in the "Blog address (URI):" I have: http://myIP/wordpress and that works good.

    On windows I can just type in the address bar this: "http://small/wordpress" but in a Linux PC I can't it will not go there. I guess it don't know the // how do I do it on a Linux PC. I was guessing something like smb://small/wordpress but that don't work.

    It's running on a Fedora Linux server and it's small that's why I named it small.

    -Raymond Day

  2. Soliah
    Member
    Posted 8 years ago #

    In order to refer to your Fedora box via a host, you need to setup a host name for it (at least that's what I've done on my Gentoo box).

    Using your favourite text editor edit /etc/hosts.

    Mine looks like this:

    # /etc/hosts: This file describes a number of hostname-to-address
    # mappings for the TCP/IP subsystem. It is mostly
    # used at boot time, when no name servers are running.
    # On small systems, this file can be used instead of a
    # "named" name server. Just add the names, addresses
    # and any aliases to this file...
    # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.8 2003/08/04 20:12:25 azarah Exp $
    #

    127.0.0.1 nirvana.sol.net nirvana localhost

    # this probably says "127.0.0.1 localhost" right now for you. In your case you'd like it to read "127.0.0.1 small localhost". You don't have to have the subnet I have before the hostname. I just do that coz i'm cool :P

    192.168.1.100 hell.sol.net hell

    #you can add other computers so you can refer to them via a host. my windows machine's ip and hostname is here, with a suitable name of hell :)

    #There is more here but I've omitted it. Leave anything else alone

    So after you've done that restart and it should be ok to just go "http://small" on your Fedora box and it should be ok :)

  3. RaymondDay
    Member
    Posted 8 years ago #

    My /etc/hosts file looks like this:

    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost small small.localdomain

    That's all that's in it. It seems like I have it all like it should be. But I can't get to it on the Linux PC like I can on the Windows PC still.

    -Raymond Day

  4. RaymondDay
    Member
    Posted 8 years ago #

    I should of said too that I can go to "http://small" on Windows but on Linux it goes to "http://www.sba.gov/". But when I click on "Write" Or "Edit" the page can not be found.

    I just tested it by using it's IP address and I can get to it that way and edit. I did the today one using this address:

    http://192.168.0.8/wordpress/wp-admin/post.php?action=edit&post=239

    It worked. But wow, in Mozilla Firefox wordpress don't look very good! The window I type in is small and the right and left side is not there. It's at the buttum.

    All so I have phpsysinfo install on both the small and the Linux desktop. On http://small/phpsysinfo/ it says:

    Canonical Hostname localhost.localdomain
    Listening IP 192.168.0.8

    On http://192.168.0.14/phpsysinfo/ it says:

    Canonical Hostname localhost.localdomain
    Listening IP 192.168.0.14

    Maybe because the both the same hostname. I don't know why it's not showing small as the hostname on small. Maybe that is why Linux can get to it but windows can.

    -Raymond Day

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.