20i Reseller Hosting

Accessing full website offline

Discussion in 'Scripts and Coding' started by ian, May 25, 2018.

  1. ian

    ian Well-Known Member

    Joined:
    Jan 2008
    Posts:
    3,876
    Likes Received:
    271
    I'm considering taking down one of my websites soon, which is currently set up on cpanel and uses a very particular version of php and others; plus a populated database.

    I will still need access to the website back-end and database though. Can anyone suggest a simple solution for accessing offline on my Windows 10 PC?
     
  2. Domain Forum

    Acorn Domains Elite Member

    Joined:
    1999
    Messages:
    Many
    Likes Received:
    Lots
    articles.co.uk
     
  3. Aaron Clifford

    Aaron Clifford Well-Known Member

    Joined:
    Jun 2010
    Posts:
    2,543
    Likes Received:
    126
    Could install WAMP/XAMPP and run it on localhost. I believe both of them offer options for installing different versions of PHP/MYSQL etc.
     
    • Like Like x 1
  4. JMI

    JMI Active Member Acorn Supporter

    Joined:
    Oct 2015
    Posts:
    379
    Likes Received:
    64
    Sounds like you could do with using a VM. You can then clone it and fiddle then destroy to your hearts content. Virtualbox.org is free.
     
    • Like Like x 1
    • Informative Informative x 1
  5. boxfish United Kingdom

    boxfish Well-Known Member

    Joined:
    Jul 2010
    Posts:
    1,043
    Likes Received:
    80
    You could leave the website where it is, point the domain nameservers elsewhere, but then edit yours HOSTS file so the domain still resolves to the site from your machine.

    (This is if you don't need the domain for anything else)
     
    • Like Like x 1
  6. Ben Thomas

    Ben Thomas Well-Known Member

    Joined:
    Mar 2018
    Posts:
    1,474
    Likes Received:
    177
    Just install a WAMP stack and run it locally, deny it access to the net.
     
    • Like Like x 1
  7. Edwin

    Edwin Well-Known Member Exclusive Member

    Joined:
    Apr 2005
    Posts:
    9,923
    Likes Received:
    578
    If the fundamental issue is that you don't want the site "live" for anyone to see, but you could get away with having it online, then you could lock access to it through .htaccess so that a password is needed to see anything at all, and leave it where it is. That might be the simplest solution. And of course if the place you're hosting it has multiple tiers of hosting packages, you could drop down to the smallest/cheapest that still provides what you need, since the only traffic to the site will be YOU!
     
    • Like Like x 1
  8. ian

    ian Well-Known Member

    Joined:
    Jan 2008
    Posts:
    3,876
    Likes Received:
    271
    Thanks all, I still need the domain to carry a 'closed' page, but wanted to access offline so I can cancel the existing expensive hosting. Sounds like a VM or one of the off-shelf solutions is the way to go.