WordPress.org

Ready to get started?Download WordPress

Forums

Database error after change of IP (2 posts)

  1. jokkon
    Member
    Posted 4 years ago #

    I use WordPress on a home server which is Ubuntu server 7.10 with LAMP stack. My router went down during a vacation and it released both LAN and WAN IP. I went through the guide called "change URL guide" found here. But still WordPress and the database seem to have problems communicating.

    1. pictures: Pictures still have the old IP as their URL. How do I change this?

    2. frontpage: Frontpage of blogg looks to be something the search engine of WordPress has found with a search for nothing. That is, no pictures shown and a first post which says:

    Sorry, no results for

    Try another search or check out one of these fine recent posts.

    3. post-links: No links to posts work properly. They are still in the format http://site/category/heading and I now the url trackbacks to the correct IP. I believe the error lies within the database because of the error message:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    I have the same domain as I used to though different WAN and LAN IP and today nothing works properly. Where to start and what to do?

    /Jocke

    PS It would be great if there was an easier way to change IP for you wordpress setup. If I can't get this to work properly I might walk away from wordpress because of the inconvenience for my next IP-change.

  2. ClaytonJames
    Member
    Posted 4 years ago #

    I use WordPress on a home server which is Ubuntu server 7.10 with LAMP stack. My router went down during a vacation and it
    released both LAN and WAN IP...
    ....I have the same domain as I used to though different WAN and LAN IP

    I may be misunderstanding your actual setup, so absorb this with that in mind. It sounds like you started by using both a dynamic ip address from the WAN (supplied by your isp... as in residential service..) as well as letting your router assign and port forward to a dynamic LAN ip address to your server? Where does the domain name come into play?

    If I can't get this to work properly I might walk away from wordpress because of the inconvenience for my next IP-change.

    I wouldn't think there should ever have to be an server ip address change. You can assign a static LAN ip to your server and leave the rest of your LAN machines on DHCP if you want. That way your router always port forwards only the server.

    Perhaps WordPress is not the issue, but your dynamic ip address is. ( if I am understanding the situation correctly) Maybe look into a dynamic ip service (no-ip.com or DynDns) with an updater. Some routers have this update service built right into them. And most dynamic service providers offer automatic ip update clients for both windows and linux "servers". Your issue is not one of WordPress ( as far as I can tell by what you describe here ) but one of server administration.

    I don't believe WordPress (or any other blogging platform) was developed with the intent of changing ip addresses on a regular basis.

Topic Closed

This topic has been closed to new replies.

About this Topic