Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.

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:
    4,154
    Likes Received:
    311
    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
    IWA Meetup
     
  3. 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

    Joined:
    Oct 2015
    Posts:
    696
    Likes Received:
    137
    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,053
    Likes Received:
    90
    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:
    2,621
    Likes Received:
    363
    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

    Joined:
    Apr 2005
    Posts:
    9,851
    Likes Received:
    617
    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:
    4,154
    Likes Received:
    311
    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.