1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Difficult Question About Wordpress (Programming Question)

Discussion in 'Blogging' started by biginch, Oct 11, 2009.

  1. biginch

    biginch Regular Member

    Joined:
    Apr 14, 2008
    Messages:
    262
    Likes Received:
    101
    I dont know if this in the right section but I am having a website built and hosted through a company. I work at a big liquor store and we are taking it online. I want to run a WP blog alongside the actual website.

    I have been in contact with creators about doing a WP blog and this is the answer.

    "The issue is that our wine site production servers in are Windows-based servers that don?t have PHP or MySQL on them. (According to one of our programmers, ?they can?t have MySQL on them since they are load-balanced?). "

    Does anyone know how to upload a WP blog to a windows based server? Or could you think of a substitute for WP for windows? Or are there any steps I can tell them so that it can have php or mysql?

    Any help would be highly appreciated.

    Thanks,
    Inch
     
  2. leprakhauns

    leprakhauns Registered Member

    Joined:
    Sep 8, 2009
    Messages:
    84
    Likes Received:
    15
    Occupation:
    PHP Programmer
    Location:
    New York
    Home Page:
    hxxp://www.hotscripts.com/category/asp/scripts-components/blog/

    Those are all blog scripts that run using ASP.

    Alternatively you could set up like blog.site.com and then have that go to a different server that has PHP on it, I do that with my proxy.
     
    • Thanks Thanks x 1
    Last edited: Oct 11, 2009
  3. biginch

    biginch Regular Member

    Joined:
    Apr 14, 2008
    Messages:
    262
    Likes Received:
    101
    Thanks,

    I just looked more into it. You can with a subdomain but if I were to build links for subdomain (blog.website.com) it would do nothing for the actual website (website.com)

    Any suggestions or is it not doable...
     
  4. K1w12k3

    K1w12k3 Junior Member

    Joined:
    Feb 13, 2009
    Messages:
    116
    Likes Received:
    393
    Home Page:
    You should check with your tech guys again. Why would MySQL run on load-balanced web servers? Best practice is usually to have your web servers running in an LB environment connecting through a firewall to a db server running inside your network. You'd also need to make sure that your WP front end could handle the sessions properly, which is probably what your tech's are referring to.
    An option would be to look into caching the db content on the LB servers (don't know if this would do the trick, but you can investigate http://wordpress.org/extend/plugins/w3-total-cache/) which would mean you're basically serving cached content from the web servers instead of hitting the db from different machines which could lead to session concurrency issues.
     
    • Thanks Thanks x 1
  5. K1w12k3

    K1w12k3 Junior Member

    Joined:
    Feb 13, 2009
    Messages:
    116
    Likes Received:
    393
    Home Page:
    You can read this about caching in NLB environments, which might help.

    Code:
    http://www.saiweb.co.uk/php/high-availability-joomla-wordpress-load-balance-persistant-php-database-sessions