How to list folders with disk usage totals

Re: Show Folders with total disk space used

When finding out where your web space is being used it is useful to be able to list your directories and folders showing total usage for each folder, this allows you to further drill down by concentrating on folders that contain the most usage.

You can perform this task using the du (disk usage) utility:

# du -h --max-depth=1

The output will be in the format as follows:

98M ./wp-content
4.0K ./plesk-stat
4.0K ./picture_library
20K ./css
128K ./test
5.7M ./wp-includes
3.8M ./wp-admin
8.0K ./blogs
144K ./img
4.0K ./tmp
124K ./var
108M .

The -h option shows the usage in human readable form. The –max-depth option ensures we summarise folders in the current directory and not the individual sizes of sub folders.

Plesk 9 SSL Certificate files location

Re: Plesk SSL Location, Where does Plesk store the SSL cert files?

The Plesk Migration Manager does not migrate any stored SSL certificates, you will need to perform this task manually.

/usr/local/psa/var/certificates

In the event of server failure or migration, you can backup the SSL certificates in their raw format and transfer them to the new server.

How to clear/flush the DNS cache?

Still waiting for DNS propagation after 24 hours? It might help to clear your local DNS cache.

Google Chrome:

Navigate to chrome://net-internals/#dns and press the “Clear host cache” button

Internet Explorer:

1) Launch Internet Explorer.
2) Click “Tools” then “Delete Browsing History.”
3) Uncheck “Preserve Favorites website data,” and ensure that “Cookies,” “History” and “Temporary Internet Files” are checked, and then click “Delete.”

Flush your DNS cache on Windows PCs:

Click “Start,” “Run,” type “cmd” into the run text box and then click “OK.”
Type “ipconfig /flushdns” into the command prompt and press “Enter.”

 

Categories DNS

How to resolve “Specifying a character set in HTTP headers can speed up browser rendering”

It is important for a number of reasons why your web site page load speed is as fast as possible. Our previous article “How to speed up your web page load time” explains the importance of the issue.

Increasing your web site performance usually involves a number of small changes to your web page. Some of Google’s PageSpeed suggestions are easier to resolve than others.

The Message:

Google’s PageSpeed reports “The following resources have no character set specified in their HTTP headers. Specifying a character set in HTTP headers can speed up browser rendering.”

The Issue:

Specifying a character set in the HTTP response headers of your HTML documents allows the browser to begin parsing HTML and executing scripts immediately.

The solution:

This is easy if your pages are PHP encoded. Simply add the following line of code to the top of your PHP page:

header(‘Content-type: text/html; charset=iso-8859-1’);

The Result:

Re-run Google PageSpeed and see the warning message vanish!

How to check that a parked domain name is working

All domain names parked with UK Cheapest have free access to many resources such as email forwarding, web redirection, DNS management and much more. So there are many reasons why you should park your domain names with us.

Which domains are automatically parked?

If you register a domain name and have not purchased a web hosting service for that domain name during the checkout process then your domain name is considered parked.

What does this mean? It means that your domain name has not been pointed to any specific hosting server and so it is connected to the domain parking server MICROLITE1.COM thus enabling all the services that we provide with all customer parked domain names.

Troubleshooting non-working parked domains

There are situations where your parked domain name may have stopped working or where your domain name was previously hosted and now you want it parked. In these cases there are a number of steps to the process to ensure that your domain name is parked properly.

Has your domain name expired?

If you domain name has suddenly stopped working and you have not made any changes to the domain name servers or DNS records recently then your domain name may have expired. Check the expiry date in the Public WHOIS or contact Live Support and ask them to check for you. Renew your domain if necessary.

Is your domain name connected to the parking server?

For your domain name to be parked it must be pointing to the parking name server using the correct name servers. Again, view your name server settings by viewing the the Public WHOIS record, you should see the name servers set as follows:

Name servers:
ns.microlite1.com
ns2.microlite1.com

If your name servers are not set to MICROLITE1.COM as above then your domain name is not pointing to the parking server. Login to your Domain Control Panel or ask Live Support to modify your name servers accordingly. Note that any name server change that you make are subject to a 24 hours propagation delay.

Has your domain name been registered for more than 24 hours?

If you domain name is a recent registration then you must allow time for the domain to register and for the new DNS zone to fully propagate the global internet. For .uk domain names you can expect results within 24 hours however for global .tlds such as .com you need to allow up to 72 hours.

Is your DNS zone present and active?

The fact that you have reached this far means that it probably is not active. There are a few reasons that this may be the case. The most common is that you have pointed your domain name to the parking name servers but the DNS zone has not been created for this domain.

To confirm whetjer your DNS Zone is active visit IntoDNS and run a report on your  domain name.

Ask Live Support to create/recreate your domain DNS zone. The only other problem is that your DNS zone is not valid – possibly after a recent change to your records. Again, ask Live Support to reset your DNS zone as new and re-apply your DNS record modifications carefully. 24 hour Propagation delay rules apply.

DNS can be tricky – let us help you

Remember you can ask Live Support to apply your DNS changes, simply copy+paste the instructions you received from your new host and our support teams will assist with the modifications.

Categories DNS