Network Hosting Solutions Category


How to Clear cPanel Error Log

How to Clear cPanel Error Log on a CentOs 6 server. The cPanel automatically logs activity of a web server to make it easy for the administrator to find and correct broken links and other problems. After correcting what was causing these errors, it can be worthwhile to delete or remove the accumulation of errors from this log. The following covers specifically how I do this.

Note: The following assumes you have SSH (shell access) to your server.

How to Clear cPanel Error Log

Clear cPanel Error Log

  1. Login to your server using an SSH client.
  2. To clear the Apache errors, type the following and press Enter
    cat /dev/null> /usr/local/apache/logs/error_log
  3. To delete PHP error_log files, type the following and press Enter
    find /home -type f -name error_log -delete

If all goes well, your error log should now be clean, until next time. 😉

How to make an .htaccess file in Windows

How to make an .htaccess file in Windows; In the following simple solution, I cover the process of creating an .htaccess file from within Windows. By default, Windows does not allow you to name a file .htaccess. Instead, you will receive the error "You must type a filename". However, we can force Windows to name the file .htaccess, here's how.

Keep Reading » How to make an .htaccess file in Windows

Find out Who Hosts a WebSite and IP Address

How to Easily Find out Who Hosts a Website and a domains IP Address; In the following simple solution, I'll show you one way to find out who hosts a website and the Sites IP address via a tool called IPNetInfo, created by NirSoft. Note that host information is only accurate if the Web Hosting company actually owns the IP addresses allocated to their clients.

Keep Reading » Find out Who Hosts a WebSite and IP Address

Error from park wrapper: Domain is already configured

Recently I received an error in cPanel stating; Error from park wrapper: Domain is already configured when attempting to add an addon domain. The domain was previously an addon in one of our other accounts on the same box, and we were trying to move it to another account. As it turns out, when I deleted the addon from the other account, traces were still left behind on the server, making the domain appear to be configured.

Keep Reading » Error from park wrapper: Domain is already configured

Enabling .htaccess in Apache on Windows

By default XAMPP and similar Apache Web Servers that can be run from Windows do not have mod_rewrite enabled. This causes Apache to ignore an .htaccess file. In the following simple solution, I show you how to enable mod_rewrite to enable the use of .htaccess on Apache servers in Windows like XAMPP. Moreover, this allows you to create nice permalinks for software like WordPress.

Keep Reading » Enabling .htaccess in Apache on Windows

XAMPP Access forbidden on Security Page

Access forbidden when trying to access XAMPP security page. In the following simple solution, I will cover the process of fixing this security page access problem when running XAMPP on Windows Vista. Symptoms of this problem may be that you end up with the following error when attempting to access http://localhost/security/lang.php?en.

Keep Reading » XAMPP Access forbidden on Security Page

How to Access Localhost in Vista

By default the Windows Vista TCP IP stack does not allow access to a local server using localhost. Many people find this out the hard way, after having installed XAMPP or other local server software on their Windows Vista PC. After installation, they can access the local server via 127.0.0.1, but not via localhost. In the following simple solution, I will show you how to resolve this problem and regain access to your XAMPP server using localhost once again.

Keep Reading » How to Access Localhost in Vista

Maximum execution time of 30 seconds exceeded

If your receiving an error stating that Maximum execution time of 30 seconds exceeded, when you run a script on your website or blog, just know that you are not alone. By default, most servers are set to this 30 second execution time limit. In the following simple solution, I will show you how to increase the execution time limit, hopefully allowing you to finally execute your script successfully.

Keep Reading » Maximum execution time of 30 seconds exceeded

XAMPP 500 Internal Server Error

If your encountering the "500 Internal Server Error" in XAMPP and cannot access your server administration panel or any of the installed domains, the problem may lie in your XAMPP servers root .htaccess file. I recently encountered the 500 Internal Server Error on a portable installation of XAMPP shortly after moving the installation to a new location. In the following simple solution, I will show you how I resolved the issue.

Keep Reading » XAMPP 500 Internal Server Error

Road Runner Turbo Speed Test

Road Runner Turbo Speed Test: After upgrading from Road Runner Standard to Road Runner Turbo cable internet service, you might feel the need to test out your new and improved internet connection speed. Of course a simple Google search for speed test will result in many great services that offer bandwidth or speed testing. However, consider that many online speed testing tools are likely hosted on servers with a limited bandwidth. To truly perceive the bandwidth capabilities of your connection, it's probably best to connect directly to the source. In my case, the Road Runner Speed Test via Time Warner Cable.

Keep Reading » Road Runner Turbo Speed Test

Redirect index.html and index.php to the home page

How to redirect index.html and index.php to the home page. We recently did some website work for a local business. The business was using a static html website and we wanted to convert the site to a WordPress based platform for multiple reasons. During the conversion, we needed to not only perform 301 redirects for all of the currently indexed html pages, but also perform a redirect for the index.html page. This was a bit more complicated as you cannot simply perform a 301 redirect on an index page. Here is how we did it.

Keep Reading » Redirect index.html and index.php to the home page

How to find the MAC address of a PC or device on the LAN

How to find the MAC address of a PC or device on the LAN: Have you ever needed to find the MAC address of a computer or device connected to your network? Finding the MAC address of a PC or or device on your LAN is easy if you know at least the IP address of the PC or device that is connected. There are many cases in which a user might need to determine the MAC address of a given network communication device.

Keep Reading » How to find the MAC address of a PC or device on the LAN

How to fix a Bricked Linksys Router

The following simple solution explains how to fix a bricked Linksys router. Tested on a Linksys WRT54G router. Typically a router can become bricked if a firmware update was unsuccessful. Many people think that their Linksys router is no longer any good because they cannot access the Linksys admin panel after a failed firmware update. However, in most cases, a bricked Linksys router is completely repairable and simply requires a new means of flashing to get it back up and running again.

Keep Reading » How to fix a Bricked Linksys Router

How to wirelessly bridge a WRT54G to a WRT600N router

The following tutorial covers the process of wirelessly bridging a connection between a Linksys WRT54G router (running DD-WRT software) and a Linksys WRT54G router. By following this tutorial, the WRT54G becomes a wireless client to the WRT600N base station. This allows a user to connect computers to the WRT54G router via the wired ports, while the wireless side of the router is dedicated to routing the connection to and from the WRT600N. This is a great way to retain usage of your WRT54G router after having upgraded to a WRT600N.

Purpose: To have wired client connections in a different room or even level that connect to your main router without wires joining the two routers and without having to purchase wireless cards for the clients.

Keep Reading » How to wirelessly bridge a WRT54G to a WRT600N router

WRT600N wireless dropouts on 5ghz band

Getting WRT600N wireless dropouts on 5ghz band? We recently upgraded from a WRT54GL router to a Linksys WRT600N Linksys Ultra RangePlus Dual-Band Wireless-N Gigabit Router to take advantage of the dual band 5ghz and 2.4ghz wireless N frequencies along with the gigabit wired network connection. Initially, we were disappointed to find that while working via the 5ghz band on our wireless workstations, we would get randomly dropped connections. This would typically occur when doing large downloads (receiving large packets). All of our workstations use Intel 4965AGN wireless cards and we never experienced a hiccup on 2.4ghz frequency with the old WRT54GL router.

Keep Reading » WRT600N wireless dropouts on 5ghz band

FTP Error Copying File or Folder

If you like to use Windows Explorer to perform your FTP file transfers and are having problems with the file transfer timing out during the last second or last few second of the download, just know that your not alone. The File Transfer ability that is built into Windows is primitive and many settings are not adjustable as they would be using more advanced FTP client software. This is especially true when it comes to setting a passive port. In many cases a person may find that larger FTP downloads time out or never finish. In the following, I'll show you a resolution that works for me.

Keep Reading » FTP Error Copying File or Folder

How to detect rel=nofollow using firefox

Rel=nofollow is a link attribute typically used by webmasters to signify that they do not want search engines to follow and credit a link as related or relative to a specific page or site. If your using the firefox browser, it is simple to detect which links are using the rel=nofollow attribute on any given page by installing the popular SeoQuake addon. This addon enables a user to detect and displays rel=nofollow liks with a strike through or strikeout line (line-through rel=nofollow links). In addition, SeoQuake contains SEO tools that may come in handy. One such tool is the SEOBar, which can display information about any page such as Pagerank, Alexa Rank, Inlinks, Age and Whois.

Keep Reading » How to detect rel=nofollow using firefox

Be the Googlebot

Want to know how it feels to be a Google Bot? Want to see those Websites how Google see's them? Well, in this article, I am going to explain how you can take a walk through the internet in Googlebot's Shoes. There are many things Googlebot see's and has access to that the regular Site visitor does not. For example, a Forum might want Google to index it's content, but yet has it's content blocked from the visitor (non-members). In this case, the Forum's content is viewable by Google, but not to the average Joe who might be visiting. So if we could just take a walk in those Googlebot Shoes, we might just find our VIP pass right? In order to walk in Google Bot's shoes, we need to change the header information that is presented to the site upon arrival. Here's how.

Keep Reading » Be the Googlebot

Error – invalid maildirsize file

If you're experiencing the following error: invalid maildirsize file on your server when changing a quota in the email accounts section of your cPanel, your mailbox may be corrupt. The "invalid maildirsize file" error can be easily corrected 99% of the time by following this simple solution. Implementing this fix is easy and only takes a couple of minutes as long as your comfortable managing files via ftp. So let's get started.

Keep Reading » Error – invalid maildirsize file

How to block a visitor from veiwing your Site

Block IP Address: How do I block a visitor from viewing my Site? Blocking certain IP addresses from viewing your Website is one way to keep a person or group of people from viewing or accessing your Web Pages. IP blocking will restrict who can view your site. However, you can unintentionally end up blocking a group of people outside of your target group. Therefore IP blocking should generally be avoided if possible. For those that want to proceed, the following tutorial explains how to block an IP address using your .htaccess file.

Keep Reading » How to block a visitor from veiwing your Site

Finding the MAC address of your network card

How to find the MAC address of a computers network adapter: MAC addresses (Medium Access Control)
are used by a computer as the source and destination addresses for the transfer of data packets on a network. You've probably arrived at this page because your interested in finding or locating the MAC address of an ethernet adapter or NIC (Network Interface Card) within your computer. In the following tutorial, I cover how to reveal the MAC address of a network card on your Windows PC. The process of locating your computers MAC address is simple but first let's explain what a MAC address is.

Keep Reading » Finding the MAC address of your network card

Add 301 redirects using .htaccess

Over the course of time a WordPress blog or site author is bound to change the content of their site and eventually move or even delete and re-write content. This can cause problems with search bots that have previously crawled and indexed your links. If the moved or deleted links can't be found, you might even lose page ranking.

To remedy this we can utilize the 301 re-direct rule to point the old path to the new location. The easiest way to do this is via the .htaccess file.

Keep Reading » Add 301 redirects using .htaccess

Hosting a Web Site from Home

In the past, web site hosting from home was something that the average person with a limited understanding of networking wouldn't dare attempt. But nowadays with the introduction of complete (Apache/PHP/SQL) packages such as Xampp, EasyPHP and NetServer, it isn't uncommon for the average person to begin hosting their own sites from home. I personally host a few of my sites from home.

Keep Reading » Hosting a Web Site from Home