It’s hard to really know what you get when buying cloud services today. Depending on the vendor they might sell their services with set amounts of “cores”, or “compute units”, or “vCPUs”. Storage might be spinning disks in speeds ranging from 7,200 RPM to 15,000 RPM or the storage might be newer solid state drives which come in MLC, SLC, and a large variety of performance levels. RAM quantities are fairly straight forward (though is that gigabyte 1,000 or 1,024 megabytes?) but the speed levels of RAM vary drastically.
Category Archives: Hosting
So I recently had to do some work on a server that required stopping all sites in IIS but without stopping IIS itself. Here’s the short post on how I did that. Now of course I needed to have all the sites turned back on again. Just restarting IIS wouldn’t do what I needed – it seems to remember what sites were running before the reset. So, here’s a quick little script, which is just the inverse of the previous script, to start all sites.
c:\windows\system32\inetsrv\appcmd.exe list site /xml /state:"$=stopped" | appcmd start site /in
There you go. Simple as could be. This loops through and lists all the sites currently with their running state set to “stopped”, pipes it into the next command, which just starts each of the sites in the list.
By the way this is super fast. Even on a server with hundreds of sites it only took a second or two to run.
Happy IIS hosting! :)
I had a need recently to stop all the sites running on a Windows server, but I didn’t want to stop IIS. This specific server has hundreds of sites running on it, so stopping each one at a time would have taken an excessive amount of time.
So with a little Google-fu I stumbled across an old post that leverages appcmd
c:\windows\system32\inetsrv\appcmd.exe list site /xml /state:"$=started" | appcmd stop site /in
This single command will pull a list of all the sites that currently have a running state of “started” and then pipe that list into the stop command. This runs super-fast even on a server with hundreds of sites – very impressive and using this saved me tons of time!
Happy IIS hosting! :)
By the way, here’s the inverse of this script to restart all the sites on an IIS server.
Chances are, if you have a website, you want that website to be found. You want people to search for <something>, see your site in the results, click over to your site and then engage with your product or service (be that a purchase or some other action).
I’m continually surprised and a bit disappointed though when I check out many start-up websites. Upon first glance they might be visually appealing, but oftentimes no effort has been put into attracting visitors – the focus is only on the message once the visitor is already on the site. Don’t get me wrong – that’s important – but there are many layers to the funnel and to have an effective website you need to spend some time thinking about how your visitors are going to get to the site in the first place.
So, here are some thoughts and ideas to consider. Maybe this information is new to you, or maybe it isn’t but you’ve just forgotten or neglected to take action on these items. Either way, I think these are good reminders for many people – especially entrepreneurs who might not have had any sort of SEO primer before.
Okay, this bit me again today, and I didn’t remember the solution from previous research so I had to research it again. That to me means I need to write it up in a blog post. :)
I’m running WordPress for this blog. It is hosted on a Windows 2012 R2 server (using IIS, not Apache) with the latest versions of PHP and MySQL installed.
I uploaded a post earlier that had a PNG file screenshot included. The PNG file uploaded fine and showed up fine in the Media management screen of WordPress but it wouldn’t display in the actual post. The issue winds up being a permissions problem.