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.

Modify host file on windows

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

  1. dmreed

    dmreed Registered

    Joined:
    Oct 8, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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:
    30,830
    Likes Received:
    672
    Trophy Points:
    113
    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.
     
Loading...

Share This Page