The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    198
    Likes Received:
    0
    Trophy Points:
    16
    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,475
    Likes Received:
    20
    Trophy Points:
    38
    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
     
  3. schwim

    schwim Well-Known Member

    Joined:
    Aug 2, 2006
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    16
    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,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Yes, you should be able to. If you want to also stop cPanel:

    service cpanel stop
     
Loading...
Similar Threads - temporarily shut down
  1. dazeck
    Replies:
    6
    Views:
    297

Share This Page