Home | Web Design | Web Hosting | Domain Name | Website promotion | Web Applications

Archive for Web Hosting

Maintaining your own web site

There are few ways you can maintain the web site on your own. We provide some instructions here.

1) Using Cpanel file manager:
- First, log in to Cpanel >> choose File manager >> choose “www” folder
- Click on the file that you would like to edit >> click on edit on the top right corner
- After changing the text, click on “save” at the bottom
- Try not to change the design layout unless you are very sure about what you are doing

2) Using web publishing software like dreamweaver/frontpage:
- This is a more advanced method, whereby you require some basic HTML knowledge
- First, connect to the server using the FTP configuration provided to you when we first set up your hosting account
- Specify the remote folder as /www/
- You can download the file in a familiar environment that you can work on at your local PC after successful connection

3) The other alternative is to get us to maintain for you. Our maintenance service is very affordable, so if you do not wish to spend unnecesary hours with all the html codes, get a quote from us and you will be surprised with what we can do for you

Comments

Enable register_globals using .htaccess

By default, our server has register_globals set to 0. This is for security reason.

You can modify the setting by adding the line to the htaccess file:

1) Log in to cpanel >> file manager >> /www/
2) Click on .htaccess
3) Click on Edit File on the top right
4) Add the line: php_value register_globals 1

However, you should understand the implications of the modification to certain extent.

——————————————
Below is an example of application with security loophole that is prone to attack by hackers.

if (isset($submit)) {
$logged_in = yes;
Application runs…
}

Instead of using $submit, you should use $_POST[’submit’] if the variable is posted from a form. This specifies exactly where the variable comes from.

Comments

DIY publishing of web pages

If you have subscribed to our hosting solution and plan to design your own web pages, we provide some guidelines for you to publish your files.

Firstly, you need a web publishing software like dreamweaver/Ms frontpage. After installation and design of your pages, you need to configure the FTP connection. This is required so that you can connect your local computer with the server. The ftp information is normally sent to you when you first subscribed to the hosting plan.

Once you are able to set up the ftp connection, you will be able to see the files and folders at the server. You need to upload all your files to the /www/ or /public/ folder so that the public can view your web pages. By default, there will be a page called index.html stored at the server. You need to overwrite this page by creating your own index.html file.

That’s it, now you can view your pages in Firefox or IE.
————————————————-

Then you may ask, what about images…. Well, image files need to be uploaded to the server as well. You also need to specify a path to find the images from the html documents.

Hope this helps.

Comments

Next entries » · « Previous entries