Welcome to Centmin Mod Community
Become a Member

Domains Possible to work on a website without having a domain?

Discussion in 'Install & Upgrades or Pre-Install Questions' started by derpyhooves, Jan 11, 2015.

  1. derpyhooves

    derpyhooves New Member

    22
    3
    3
    Oct 25, 2014
    Ratings:
    +3
    Local Time:
    4:32 PM
    I'm in the process on moving my forum over to a new vps with centminmod, however I can't transfer the domain over yet because I want people to be able to use the old forum until it's all set up and I'm ready to import the database on the new vps.


    How can I work on the new vps and view the site in my browser? if I go to the IP it just shows me the default nginx page even though I already added the new vhost.
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,110
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,739
    Local Time:
    4:32 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Preview the test copy site domain via local computer hosts file edits. For instance on windows pc to preview a test site on different ip, just edit C:\Windows\System32\drivers\etc\hosts with line
    Code:
    newipaddress domain.com www.domain.com subdomain.domain.com
    Then when you go to domain.com in your browser it bypasses your ISP DNS and uses the local hosts file edit to redirect domain.com to newipaddress temporarily.
    
    Remember, to remove local hosts file end or comment it out with hash # to switch back to live domain pointer to live ip address.
     
  3. derpyhooves

    derpyhooves New Member

    22
    3
    3
    Oct 25, 2014
    Ratings:
    +3
    Local Time:
    4:32 PM
    Thanks, i'll try that. Another question. How would I finetune my centminmod install? I know I need to edit my worker_processes and such, but I can't find where to tune it and what to put the values at.
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,110
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,739
    Local Time:
    4:32 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  5. derpyhooves

    derpyhooves New Member

    22
    3
    3
    Oct 25, 2014
    Ratings:
    +3
    Local Time:
    4:32 PM
    will read into it, currently trying to sort out my previous host that went down :(.