The MU forums have moved to WordPress.org

WordPress Mu on Internal company website (5 posts)

  1. peiqinglong
    Member
    Posted 17 years ago #

    Greetings all! So I'm trying to get WordPress Mu running to use as our internal website. I'm having a hell of a problem figuring this out. I did searches and the closes thing I've found to what I want to do is here, but it doesn't work for me.

    Here's the webserver config:

    • Win2003 Enterprise R2
    • Apache 2.2.4
    • PHP 5.2.1
    • MySQL 5.0.27

    So when I use http://computername, it *works*, but when I want to use the subdomain option, I know it won't work.

    So in my HOSTS file, I changed 127.0.0.1 localhost to 127.0.0.1 localhost.local. The one problem is that there is another web server running IIS and I think its conflicting on the localhost...

    Am I doing something wrong or forgetting to add something somewhere?

  2. drmike
    Member
    Posted 17 years ago #

    It's not finding the subdomains because you haven't told it that they're there. computername is one thing. myuser.computername is another.

    To be honest, I'd just fake a domain name and put that in your hosts file. Since it's local only, it won't affect anything other boxes.

    Not sure how to do a wildcard within hosts though...

  3. peiqinglong
    Member
    Posted 17 years ago #

    How do I fake a domain name? I tried using computername.local in place of localhost, but when I visit: http://computername.local, that just brings me to google saying it can't find that page. I would like to be able to invent a domain name, that would solve almost all of my problems currently... I just dunno how...

  4. intimez
    Member
    Posted 17 years ago #

    Add the domain name in the 'hosts' file:

    for winxp, it's located: C:\WINDOWS\system32\drivers\etc
    but look for something similiar in your environment

    You also need to edit the apache config with the domain name and then restart the apache service.

    Hope that helps.

  5. peiqinglong
    Member
    Posted 17 years ago #

    Did that. Doesn't work.

    So in my HOSTS file, I changed 127.0.0.1 localhost to 127.0.0.1 localhost.local. The one problem is that there is another web server running IIS and I think its conflicting on the localhost...

About this Topic

  • Started 17 years ago by peiqinglong
  • Latest reply from peiqinglong