Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How do I temporarily shut down webserver

Discussion in 'General Discussion' started by schwim, Sep 22, 2008.

  1. schwim

    schwim Well-Known Member

    Joined:
    Aug 2, 2006
    Messages:
    213
    Likes Received:
    0
    Trophy Points:
    166
    Hi there everyone,

    I moved all accounts from an old server to a new one and now I would like to temporarily shut down the old webserver long enough to ensure that all domains are pointing to the new server by testing each one in a browser(I understand I could tracert, but I also want to make sure all are working as intended).

    How would I shut down the webserver via shell, then restart it when I'm done?

    thanks,
    json
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    First, you need to stop it restarting:

    service chkservd stop

    Then you need to stop httpd:

    service httpd stop

    When you want to start it up again:

    /scripts/restartsrv_httpd
    service chkservd start
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. schwim

    schwim Well-Known Member

    Joined:
    Aug 2, 2006
    Messages:
    213
    Likes Received:
    0
    Trophy Points:
    166
    Hi there Jonathan and thanks very much for your help.

    Just for clarification, should I still be able to access WHM admin panel(server.domain.com:2086)?

    Because I can :D

    thanks,
    json
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Yes, you should be able to. If you want to also stop cPanel:

    service cpanel stop
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice