• Hello, I started using wordpress and here is my problem
    I see webside on localhost/wordpress but i dont see when i use my ip “176.221.120.83” or “176.221.120.83/wordpress”

    anyone?
    thanks a lot

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Halo,

    Have you tried to access your wordpress by go to localhost/wordpress/ or 127.0.0.1/wordpress ?

    Thread Starter zoolgoth

    (@zoolgoth)

    When i use localhost/wordpress or 127.0.0.1/wordpress i see everything.
    Question is what i need to do, to let others see this webside

    You will be changing the site address and wordpress address in the General settings, changing these amounts to moving WordPress even though you have not actually moved anything, what matters is that the apparent address has changed, hence this doc has parts which are relevant:
    https://codex.www.ads-software.com/Moving_WordPress

    You have two options.
    – Use the server IP address 176.221.120.83, this will work from anywhere that can access this IP, possibly the whole internet, possibly only your local LAN segment.
    – Use the DNS (Domain Name Service) mechanism to access the website by name, the name could either be one that is purchased and managed through nameservers, OR mapped at the server and every computer which needs to access to your site.

    In all cases the moving WordPress doc is relevant.

    In the first case the site and wordpress addreess are:
    https://176.221.120.83
    OR
    https://176.221.120.83/wordpress

    The second case is more interesting, you configure the webserver (probably Apache2) using the VirtualHost method, details here:
    https://httpd.apache.org/docs/current/vhosts/
    You will have a block in your “sites-enabled” configuration like:

    <VirtualHost *:80>
    DocumentRoot /var/www/wpB
    ServerName wpB.local
    ServerAlias www.wpB.local
    </VirtualHost>

    in Linux this at a location like: /etc/apache2/sites-enabled/001-local
    In this case your site and wordpress address would be:
    https://wpB.local
    Then you can either:
    – Buy the domain name, and set it to resolve to the IP address 176.221.120.83
    – Edit the hosts file, details here:
    https://en.wikipedia.org/wiki/Hosts_(file)
    and add a line like:
    176.221.120.83 wpB.local
    at every computer that needs to access your website, the domain need not be purchased, it can be an domain at all, even a well known one !!!! since the hosts file is consulted BEFORE the DNS mechanism.

    • This reply was modified 6 years, 6 months ago by RossMitchell.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Localhost/wordpress’ is closed to new replies.