Example of Section Blog layout (FAQ section)

I Am Getting A 404 Error!

Wednesday, 29 April 2009 00:39
Print PDF

Error number 404 signifies a "Page not found error". This means the webpage (or file) you are trying to access was not found on the server. This might happen for the following reasons :

  1. You have mis-typed the spelling of the page you are trying to access.
    Example : You wanted to access "http://www.domain.com/index1.html", but you typed "http://www.domain.com/indx1.html". This will cause a 404 error to display in your browser because the page "indx1.html" was not found On the server.
  2. You have not uploaded the page to the public_html folder yet.
  3. OneHoster uses Linux based web servers and in Linux, file names are case-sensitive. So, if you uploaded a file called Index1.html and tried to access it as domain.com/index1.html (note the I and i), you will get a 404 error. It's highly recommended to make all file names lowercase and to not use spaces or non-english characters in file names, to avoid such errors.
Last Updated on Thursday, 04 November 2010 08:02
 

How To Disable/Enable Register Globals

Wednesday, 29 April 2009 00:37
Print PDF

To disable register_globals, create a file using any simple text editor (notepad is fine) and name it php.ini. Write the following code in the file:

register_globals = OFF

Then, upload the file to any folder you want to disable register globals in, or upload it to your public_html folder to disable register globals in your domain level.

The same method applies to enable register_globals, except the code in the php.ini file will look like this:
register_globals = ON
Enabling register_globals is a MAJOR security hole in your website!
Last Updated on Thursday, 04 November 2010 08:04
 

Website Shows A "500 Internal Server Error"

Wednesday, 29 April 2009 00:24
Print PDF

If you get this error while you're not running any script, then it's most likely because of some bad syntax in the .htaccess file.

Try disabling the .htaccess file by renaming it; then, access your website again. If the website works fine without the .htaccess file, then you need to review your .htaccess file content.

Last Updated on Thursday, 04 November 2010 08:06
 

How Do I Clear The DNS Cache On My Computer?

Monday, 09 February 2009 19:12
Print PDF

To clear the DNS cache on your computer, you need to flush the DNS caching. Instructions to flush the DNS, in accordance with your operating system, are given below :

To flush the DNS cache in Microsoft Windows (Win XP, Win ME, Win 2000):

Start -> Run -> type cmd

In command prompt, type:  ipconfig /flushdns

To flush the DNS cache in Linux, restart the nscd daemon:

Type /etc/rc.d/init.d/nscd restart in your terminal.

To flush the DNS resolver cache in Mac OSX Leopard

you can use the command dscacheutil -flushcache :
bash-2.05a$ dscacheutil -flushcache

To flush the DNS resolver cache in Mac OSX versions 10.5.1 and before

the command lookupd -flushcache will perform the same task:
bash-2.05a$ lookupd -flushcache

Last Updated on Thursday, 04 November 2010 08:09
 

How Do I Reduce The Amount Of Spam Coming To My Email Account?

Monday, 11 August 2008 19:18
Print PDF

1. You may mark the incoming emails as "spam", on the basis of email headers and bodies, by using SpamAssassin in cPanel via:

cPanel >> Mail >> SpamAssassin

Then, you can delete them.

For this, you will need to enable SpamAssassin by clicking on the "enable SpamAssassin" button in SpamAssasin via cpanel->email->SpamAssassin. Then, set up the score that you want to give. The default is 5. It will first identify the spam based emails. Then, it increments the spam value each time it gets delivered. When the spam value reaches 6 (which is above the set score), the emails will automatically be marked as spam. The spam emails can be discarded by enabling "Spam Auto Delete' in SpamAssassin.

You can also configure SpamAssassin for various checks (Blacklisting/Whitelisting email ids, etc.).

2. Block spam using an User-level, or Account level, filtering. This is used when you are getting spam with common key words, like "watches", or spam originating from any particular email id. You can block spam using these keywords via the following options. For this, click on the "create a new filter" tab. Then, you can setup the filter according to the following examples:

  • Suppose you want to block any email containing the word "watch" (the word may be in email header or body). Select "Any Header and contains" from the two dropdown menus, and enter "watch" in the blank field. Select the action to discard it, or any other option. This filter will be blocking emails containing the word "watch" anywhere in the email.
  • For blocking emails from a specific email id, like This e-mail address is being protected from spambots. You need JavaScript enabled to view it :  Select "From and equals" from the dropdown menu and put  This e-mail address is being protected from spambots. You need JavaScript enabled to view it in the blank field with the appropriate action.
  • For blocking emails that have keywords like "watch", "watches", "Watches", WaTches", etc.: Select "Any Header and matches regex options" from the dropdown menu. Put the appropriate regular expression in the blank field.
3. Enabling box trapper will reduce spam by forcing all people not on your white list to reply to a verification email before they can send mail to you. This will send an email back to the sender, requesting a reply to that before it is regarded as genuine. Hence, it will reduce the spam sent using scripts.
Last Updated on Thursday, 04 November 2010 07:52
 


Page 1 of 3
You are here:   Home Section Blog Find us on Google+

Control Panels

News and Events

Our Clients