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!

Modify host file on windows

Discussion in 'Bind/DNS/Nameserver' started by dmreed, Oct 8, 2016.

  1. dmreed

    dmreed Registered

    Joined:
    Oct 8, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    92064
    cPanel Access Level:
    Website Owner
    Sorry to intrude but I could not find a way to post to a new topic.

    My question revers to Win 10 Apache 2.4 local hosts:

    I have searched the web quite a bit and have not found an answer to my need:

    I am running Win 10 Pro 64x. I have two directories which I need to access as local hosts: g:/8081dmreed and g:/8082devsite.

    Can someone please provide me exact coding regarding the Windows hosts file and the Apache files httpd.conf, httpd-vhosts.conf, and any additional files.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,663
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you confirm if this is a cPanel server, and you want to modify the hosts file on your local workstation to change how a domain name resolves?

    Thank you.
     
    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