How to make external blog appear on the same domain as main site?

Discussion in 'Getting started' started by Nelly, Dec 2, 2009.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi

    Discountasp.net does not support mysql (any more) and so therefore i wish to host my fav CMS wordpress on an external server BUT to make it appear as if it was part of my main site hosted here.

    I am aware of a "reverse proxy" and that I would have to create a subdomain here as an add on, but this is where i get stuck.
    I found this very informative step by step blog here but, if im mistaken does not refer to asp hosting as it makes reference to "Change the Apache configuration file, httpd.conf on your web server" this is ok where my blog hosting is concerned but here on discountasp.net where is or how do I create this file?

    Has some one got a workaround to implement what it is I am trying to achieve here?

    Thanks in advance

    Nelly
     
  2. mjp

    mjp

    httpd.conf is a web server configuration file for Apache. You won't find it on a Windows server and creating your own won't have any effect.

    You should be able to run WordPress here without the Apache-specific stuff and just reference the remote MySQL database in the WordPress configuration. Have you tried that?

    I don't have a WordPress config file here to check, but there is likely a section that calls your database with a host/user/password combination. The default server entry is usually "localhost." If you replace that with your MySQL server address (and if the MySQL server will accept a connection that isn't local), and the username/password for the remote MySQL server, it should work.

    Then the files run on the server here with the rest of your site, but the app connects to the remote database.
     
  3. Thanks for the reply.

    Do I just unzip wordpress in a directory i create in my discountasp account eg /blog, then edit the config file to connect to the external db and then allow my discountasp ip address to connect at the other end, I should be up and running?

    Thanks in advance
     
  4. mjp

    mjp

    Yep.

    You'll have to unzip it locally and upload the separate though, no unzipping on the server.
     
  5. Yes thought as much, thanks for the reply

    Two more questions before I take the plunge ...from a security point, when I create the sub directory what permissions do I give it?

    Ps Has any one actually tried this method successfully?

    Many Thanks

    Nelly
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page