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
 


You are here:   Home Section Blog Trouble shooting Find us on Google+

Control Panels

News and Events

Our Clients