The MU forums have moved to WordPress.org

how to access second virtual host w/o using port number? (4 posts)

  1. cje
    Member
    Posted 15 years ago #

    I have an issue.
    When accessing the WPMU installation on LAN I get this error:
    "WPMU only works without the port number in the URL."

    Probably well know by most of you. And, I get the clue; this is how it is.

    Anyway, I have several host locations and "need" to use different port numbers to access the different locations.
    So, does anyone know a good way to set up a virtual host in Ubuntu w/o using port no?

    Thanks for any suggestions....

  2. SteveAtty
    Member
    Posted 15 years ago #

    You need to create virtual hosts in Apache2.

    Its all documented in the apache2 documentation.

    You need to create a set of config files in /etc/apache2/sites-available with the appropriate ServerName and DocumentRoot directives.

    Then enable the sites. That way you have multiple domains on the one server all running from the same IP address

  3. cje
    Member
    Posted 15 years ago #

    Thanks for your reply.
    But, my problem is related to the use of port# in the Vhost file/config files.
    Browsing the LAN using domain name is not possible with our ISP router. So, my only solution today is accessing the site using road warrior via an external server on WAN.

    So, my basic need is how to set up several VirtualHosts w/o using port# and with LAN browsing possibility for WPMU... if possible.

  4. SteveAtty
    Member
    Posted 15 years ago #

    So your server is local to your network?

    If you are running it locally then get your own DNS server to support the wildcard domain for your WPMU install.

    No need for any ports at all.

About this Topic