Browsed by
Tag: Website Hosting

P2LHosting is now closed, thank you everyone!

P2LHosting is now closed, thank you everyone!

I wanted to write a quick little blurb and thank you to all my clients and past-clients that entrusted me with their website assets by using P2LHosting for their webhosting needs.  As of today, the primary server was taken offline for good and hopefully everyone was able to switch over to a new hosting plan before the due date, which I communicated to all active clients twice via email earlier this month.

Unfortunately P2LHosting had been losing money for several years, but the amount was not that big of a deal as it proved extremely useful for me personally as well as for my clients.  But as the last few years have unfolded and I have been dedicating my work hours to my full-time career, the hosting business stagnated and eventually clients started to drop off.  Not many, but in a business where ever penny counts, even 2 or 3 clients lost per year hurts.  In addition, I was no longer able to respond to trouble tickets as quickly as I wanted, and I didn’t think that was fair to my loyal customers that were used to 1 hour response times over the years.  There is really no time to grow this business as all of my efforts are focused on serving the Playboy digital network that I currently manage.

For anyone that did not transfer in time (perhaps you never received any of the emails) I did keep a close eye on domains that were still pointed to the P2LHosting nameservers and I have downloaded complete cPanel backups for your accounts.

Didn’t transfer your account yet?

OK don’t panic, here’s what I have asked clients to do:

  1. Sign up for an account with a hosting company that uses cPanel.  I have personally moved to HostGator and I am referring people to use them as well.  You can choose a package and sign up HERE!
  2. During the sign up process, make sure you use the SAME cPanel username on your hosting sign up that you had with P2LHosting,  This is the username you would use when logging in to cPanel.  This is really important.
  3. Forward me your welcome email, which should contain your new cPanel information, including the login URL and login credentials as well as your site’s IP and nameservers, and your helpdesk login information.
  4. I will upload the cPanel backup to the home directory of your account.
  5. You will then be provided with specific verbiage for the restoration of your account.  You will need to create a helpdesk ticket and copy/paste the verbiage provided.
  6. You will need to update your nameservers on your domain via your registrar or you can send me your credentials and I can do it for you.
  7. Once the restore has been done, your site will be back up and running.

You can contact me directly via my contact page at https://www.danrichard.com/contact/ and I will get back to you ASAP.

Thanks again everyone for your loyal business over the years, it has been a pleasure serving you!

Dan

How to search for specific text within your website’s PHP files using SSH

How to search for specific text within your website’s PHP files using SSH

Here’s a quick little tip for anyone that needs to plow through a zillion PHP files to find a specific line of code or a specific keyword.   I recently needed to scan the entire P2L folder for a specific word within any PHP files in the main public_html and subfolders.  The alternative would be to download everything to your local PC and then run a search locally on your PC.  That’s fine and dandy if you have a small site that would only take seconds to transfer, but it’s a different story when you have dozens of folders and subfolders and hundreds of pages.

So, let’s put the magic of Linux to work shall we?  Open up Putty or whatever SSH program you use and log in and make your way to the public_html folder of the account you want to search.

Here’s the command you want to run:

grep -r -i -l "keyword" *

Hit enter and the quary will run… be patient as it will take some time to complete.  It will list any files found that contain your keyword as the query runs.  Here’s a breakdown of the command flags used:

-r recursive (will search folder and subfolders)

-i case insensitive (ignores UPPERCASE or lowercase)

-l list only (displays names of files found only)

Hope that helps!
Dan