Want more timely Centmin Mod News Updates?
Become a Member

No domain

Discussion in 'Domains, DNS, Email & SSL Certificates' started by lostincable, Mar 15, 2022.

  1. lostincable

    lostincable New Member

    24
    2
    3
    Feb 17, 2018
    Ratings:
    +3
    Local Time:
    6:58 PM
    Hi everyone


    I have centminmod running on a test server which is just accessible by an ip for now.

    is there a way to install in Wordpress without a domain into the a subfolder or the subdomain of the IP address?
     
  2. eva2000

    eva2000 Administrator Staff Member

    58,894
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    6:58 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Just use a dummy domain name and override via your local and server hosts files

    Setup the dummy domains i.e. newdomain.com you want via centmin.sh menu option 2 or 22 as outlined at Nginx Vhost & NSD DNS Setup - CentminMod.com LEMP Nginx web stack for CentOS They aren't live unless you edit your domain's DNS to point to centminmod server's IP address so will no interfere with your live domain operation.

    If you want to preview newdomain.com on new centminmod server without updating DNS, on Windows PC edit your windows HOSTS file at c:\Windows\System32\Drivers\etc\hosts (see guide at How to Edit the Hosts File in Windows 10 or install Hostman app HostsMan which can manage the file too and allows easy dns flushing when you make changes to the hosts file.

    c:\Windows\System32\Drivers\etc\hosts contents to preview without DNS update
    Code:
    centminmodserver-ip-address newdomain.com
    to disable preview comment it out and flush dns for your system
    Code:
    #centminmodserver-ip-address newdomain.com
    Hostsman app to flush dns and edit the c:\Windows\System32\Drivers\etc\hosts file

    And for MacOS users there's How to edit your Mac's Hosts file and why you would want to

    And if you need server to resolve add the same to /etc/hosts
    Code:
    centminmodserver-ip-address newdomain.com