Get the most out of your Centmin Mod LEMP stack
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:
    7:55 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

    28,996
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,769
    Local Time:
    7:55 PM
    Nginx 1.13.x
    MariaDB 5.5
    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:
    7:55 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

    28,996
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,769
    Local Time:
    7:55 PM
    Nginx 1.13.x
    MariaDB 5.5
  5. derpyhooves

    derpyhooves New Member

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