webhosting faq this faq is only applicable for hostings ... · 10 for shared webhosting accounts...

66
1 Webhosting FAQ This FAQ is only applicable for hostings ordered after 23/6/2010 1. How do I access my Webhosting control panel?...................................................... 1 2. On which server is my hosting set up (IP)?............................................................ 4 3. How do I install an optional software package on my Shared Hosting?....................... 8 4. How do I upload my own website (For Linux hostings)? ..........................................12 5. How do I upload my own website (For Windows hostings)? .....................................18 6. How do I use Sitebuilder? ..................................................................................22 7. How do I manage my domain names? .................................................................29 Adding subdomains ...............................................................................................29 Managing existing domains purchased from outside of Belgacom & domain parking ........32 Multihostings ........................................................................................................36 8. How do I use a database with my website (Windows hostings)? ..............................37 9. How do I use a database with my website (Linux hostings)? ...................................41 10. What logs and statistics are available? .............................................................47 11. How do I take backups of my website? .............................................................50 12. How do I change the access controls of my user accounts? (Linux).......................54 13. How do I change the access controls of my user accounts? (Windows)..................54 14. Where can I get my online web statistics? ........................................................56 15. How can I have my own customized 404 error document? ..................................57 16. What is the PERL version and path? .................................................................58 17. What is MySQL? ...............................................................................................59 18. How do I connect to my Database using my PHP script? .....................................59 19. What should you choose, a static or a dynamic web page? ..................................59 20. Protected Directories (Linux) ..........................................................................60 21. Protected Directories (Windows)......................................................................63 1. How do I access my Webhosting control panel? This FAQ is only applicable for hostings ordered after 23/6/2010 Assuming you have never accessed your Shared Webhosting before, or if you have multiple subscriptions and have not yet chosen a default: - Log into your web hosting control panel, using the URL, account name and Password that was sent to you by Belgacom when you ordered your first shared webhosting. - (if you are already logged in click on ‘select subscription’)

Upload: others

Post on 20-Feb-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

1

Webhosting FAQ This FAQ is only applicable for hostings ordered after 23/6/2010 1. How do I access my Webhosting control panel? ...................................................... 1 2. On which server is my hosting set up (IP)? ............................................................ 4 3. How do I install an optional software package on my Shared Hosting? ....................... 8 4. How do I upload my own website (For Linux hostings)? ..........................................12 5. How do I upload my own website (For Windows hostings)? .....................................18 6. How do I use Sitebuilder? ..................................................................................22 7. How do I manage my domain names? .................................................................29

Adding subdomains ...............................................................................................29 Managing existing domains purchased from outside of Belgacom & domain parking ........32 Multihostings ........................................................................................................36

8. How do I use a database with my website (Windows hostings)? ..............................37 9. How do I use a database with my website (Linux hostings)? ...................................41 10. What logs and statistics are available? .............................................................47 11. How do I take backups of my website? .............................................................50 12. How do I change the access controls of my user accounts? (Linux) .......................54 13. How do I change the access controls of my user accounts? (Windows) ..................54 14. Where can I get my online web statistics? ........................................................56 15. How can I have my own customized 404 error document? ..................................57 16. What is the PERL version and path? .................................................................58 17. What is MySQL? ...............................................................................................59 18. How do I connect to my Database using my PHP script? .....................................59 19. What should you choose, a static or a dynamic web page? ..................................59 20. Protected Directories (Linux) ..........................................................................60 21. Protected Directories (Windows)......................................................................63

1. How do I access my Webhosting control panel? This FAQ is only applicable for hostings ordered after 23/6/2010

Assuming you have never accessed your Shared Webhosting before, or if you have multiple subscriptions and have not yet chosen a default: - Log into your web hosting control panel, using the URL, account name and Password

that was sent to you by Belgacom when you ordered your first shared webhosting. - (if you are already logged in click on ‘select subscription’)

Page 2: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

2

In the subscription screen, select which site you want to manage. If you only have one subscription you will be automatically redirected to this page.

Page 3: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

3

Page 4: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

4

2. On which server is my hosting set up (IP)? This FAQ is only applicable for hostings ordered after 23/6/2010 Go to the control panel of your website is explained in ‘How do I access my Webhosting control panel?’, to select your hosting In this screen select ‘Webspace’

Select “Website configuration”

Page 5: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

5

Then in the following screen select the link pointing to your website. Note that you will also find the (shared) IP address of your website in this screen. For Windows subscriptions:

Page 6: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

6

For Linux subscriptions:

Page 7: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

7

Page 8: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

8

3. How do I install an optional software package on my Shared Hosting?

This FAQ is only applicable for hostings ordered after 23/6/2010 First, log into the control panel of your webhosting as explained in section ‘ How do I access my Webhosting control panel?’ and select ‘Application vault’

And then the type of application you are interested in.

Page 9: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

9

To get to the list of predefined application packages. Note that Belgacom does not provide any support on the use and customization of these application packages, and that some packages may require licenses to be purchased separately, directly from the application package provider. The list of available packages is also subject to change. Select an application to install

To get to this screen , and select ‘install’ (screens may vary depending on the application to be installed

Page 10: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

10

For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application to. Select one.

Prior to installation, there will be checks to see if the webhosting satisfies the resource prerequisites of the application, like whether a database is available or not. If items are indicated to be not OK, you may need to reconfigure your databases, or possibly upgrade your hosting account. If OK, click ‘Next”

Page 11: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

11

Depending on the application you may need to be required to create Admin accounts, give URLs to your app

Fill in the items on the screen, and click “Next”, till arriving at a screen where you can click ‘Finish’. Installation will then start, which can take a while.

Page 12: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

12

4. How do I upload my own website (For Linux hostings)?

This FAQ is only applicable for hostings ordered after 23/6/2010 For Windows: Login to your Webhosting account as described in “How do I access my Webhosting control panel?” Select ‘Webspace’

Select ‘FTP access’

Page 13: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

13

For FTP access, you can select ‘Users’ to create new user accounts that can upload/download websites

Click on the link to start an FTP session in your browser or use your own FTP client to log into the your account, using the info given on the ‘General’ tab

Page 14: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

14

It is also possible to manage the files of your website on an individual basis using the file manager

Page 15: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

15

Select ‘File Manager’

Page 16: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

16

For Linux hostings New FTP users can be created in

And then select users, add new User. Note that the number of users that can be added may differ depending on your hosting subscription

Page 17: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

17

Page 18: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

18

5. How do I upload my own website (For Windows hostings)?

This FAQ is only applicable for hostings ordered after 23/6/2010 For Windows: Login to your Webhosting account as described in “How do I access my Webhosting control panel?” Select ‘Webspace’

Click ‘website configuration’

Page 19: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

19

At the bottom of the page all the FTP related info appears

Clicking on the link will start an FTP session in your default browser. FTP sessions can also be started in your own FTP client using the URL and log in detail shown. Click on the link to start an FTP session in your browser or use your own FTP client to log into the your account, using the info given on the ‘General’ tab Creating new FTP users Note that for Windows Hostings FTP users can be added by creating new service user accounts

Page 20: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

20

Filemanager It is also possible to manage the files of your website on an individual basis using the file manager

Select ‘Filemanager’

Page 21: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

21

Page 22: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

22

6. How do I use Sitebuilder? This FAQ is only applicable for hostings ordered after 23/6/2010 Log into your Shared Hosting control panel as explained in “How do I access my Webhosting control panel?”, and select a Belgacom Bizz Sitebuilder account

Select the ‘domain overview’, then ‘domain management’, then select the domain for your sitebuilder account.

Page 23: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

23

In this screen you can then edit your site in Sitebuilder

Page 24: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

24

Alternatively, Shared Webhosting subscriptions can also activate Sitebuilder using the ‘Content Management’ menu. However, this menu is only visible when a domain name (bought from Belgacom or elsewhere) has been associated with this hosting (in Domain Management) and the content management option has been activated for this hosting.

Page 25: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

25

Installing Sitebuilder may take a moment. Once installed you will be able to select ‘Edit in Parallels Sitebuilder’

Page 26: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

26

This starts the Sitebuilder tool, a wizard that lets you easily create your website, by walking through a number of screens. In each screen perform the edits as you want your website to be, and click next.

Page 27: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

27

Prior to publishing your site, you will get the option to preview it

Page 28: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

28

Click publish to upload your site using FTP to the webhosting account. The website will be published to the DNS name associated with your webhosting, so if the domain name is hosted outside of Belgacom make sure it is configured correctly both on the DNS servers of your DNS hosting provider, and in the external domains associated with your webhosting (see question ‘How do I manage my domain names?’)

Page 29: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

29

7. How do I manage my domain names? This FAQ is only applicable for hostings ordered after 23/6/2010

Adding subdomains Login to your Webhosting account as described in “How do I access my Webhosting control panel?”

Select a subscription by clicking on ‘select” next to the hosting you want to access.

Page 30: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

30

Select Domain Administration

To get to this screen

Page 31: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

31

Here you can add new subdomains

Type in the name of the subdomain, and click ’next’

Page 32: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

32

Then click ‘Finish’

Managing existing domains purchased from outside of Belgacom & domain parking Login to your Webhosting account as described in “How do I access my Webhosting control panel?”

Page 33: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

33

Select a subscription by clicking on ‘select” next to the Hosting you want to access.

Select Domain Administration

Page 34: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

34

Select “Add Existing Domain Registered Elsewhere”

Page 35: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

35

Enter your domain name obtained from a non-Belgacom domain agent. (Domains purchased from Belgacom will be automatically provisioned for you), and enter which subscription you want this domain to refer to. In this field you can also select Domain name parking.

Click ‘finish’ to confirm. Make sure to also configure the correct IP address for your hosting at the DNS server of your domain name provider (using the tools provided to you by your domain name provider). The IP address of your hosting can be found in ‘Website configuration”

Page 36: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

36

Multihostings Multihosting is the ability to have more than one internet address and more than one website. Depending on your subscription you can have one or more websites hosted. Creating multiple websites is done by creating multiple subdirectories under wwwroot in the filemanage and putting the different websites in the different subdirectories. (See ‘How do I upload my own website (For Linux hostings)?’ and ‘How do I access my Webhosting control panel?’ for details how to do this. Then the right domain names need to be associated with each of these sites. For domain names hosted outside of Belgacom, use the ‘register External domains’ feature as described in “Managing existing domains purchased from outside of Belgacom”. For Domains hosted by Belgacom, contact [email protected], with the message to connect your domain names with the IP address of your hosting

Page 37: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

37

8. How do I use a database with my website (Windows hostings)?

This FAQ is only applicable for hostings ordered after 23/6/2010 Log in to the control panel as described in “How do I access my Webhosting control panel?” Select “databases”

Here you can select an installed database, or create a new one

Page 38: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

38

Page 39: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

39

(Options can differ between Linux and Windows hosting) Give the database a name and create an administrator account, and select ‘Next’ on the bottom right of the screen/ The identifiers chosen here (include the prefixes that are added automatically by the system) can be used by your website to identify and access the database On the next screen, click ‘Finish’ Deleting a database is done in the same screen (select a database and hit delete)

Page 40: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

40

To manage the database, click on the database name

Page 41: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

41

Select ‘Edit’ to change characteristics of your database (disk space, etc) To add user accounts to the database, select ‘Users’.

9. How do I use a database with my website (Linux hostings)?

This FAQ is only applicable for hostings ordered after 23/6/2010 Log in to the control panel as described in “How do I access my Webhosting control panel?” Select “databases”

Page 42: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

42

Here you can select an installed database, or create a new one

Page 43: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

43

(Options can differ between Linux and Windows hosting)

Page 44: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

44

Give the database a name and create an administrator account, and select ‘Next’ on the bottom right of the screen. The identifiers chosen here (include the prefixes that are added automatically by the system) can be used by your website to identify and access the database On the next screen, click ‘Finish’ Deleting a database is done in the same screen (select a database and hit delete)

To manage the database, click on the database name

Page 45: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

45

Select ‘Edit’ to change characteristics of your database (disk space, etc) To add user accounts to the database, select ‘Users’. Select browse to get to the php mydatabase manager application

Page 46: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

46

Page 47: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

47

10. What logs and statistics are available? This FAQ is only applicable for hostings ordered after 23/6/2010 Log into the control panel of your webhosting as described in How do I access my Webhosting control panel? Select ‘Statistics and analysis’

Select AWStats to get usage reports over a longer period, while ‘resource usage’ will give you the current load on the system. To analyze the behavior and success of your website, AWStats is more useful

Page 48: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

48

Page 49: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

49

Select ‘profiles’, then ‘Browse’

This will bring you to a new screen where you can see historical data on your website usage:

- unique users, - peak load - how long they stated - Where they came from - Etc

Page 50: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

50

11. How do I take backups of my website? This FAQ is only applicable for hostings ordered after 23/6/2010 Log into the control panel of your webhosting as explained in “How do I access my Webhosting control panel?”, and select ‘Backups’

To create a new backup, select ‘Add New Backup’. Note that backups are taken to an internal BGC database, and that the space for this backup is counted as part of the disk space quota of your subscription. You are allowed to create as many backups as needed, as long as the total quota of your subscription is not exceeded. If you want to backup your website to your own preferred site, this can be done through FTP file transfer.

Page 51: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

51

In the next screen, give a name to your back-up, and select which items you want to back-up.

Page 52: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

52

Then click ‘finish’ on the bottom right of the screen (not shown). The Back-up starts, and may take a while to compete. To restore a backup, select a backup to restore, and hit ‘restore’

Page 53: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

53

Click ‘yes’ in the confirmation message, and the backup will be restored

Page 54: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

54

12. How do I change the access controls of my user accounts? (Linux)

This FAQ is only applicable for hostings ordered after 23/6/2010 Access controls of your FTP account can be set in the ‘Users’ section of the FTP.

13. How do I change the access controls of my user accounts? (Windows)

This FAQ is only applicable for hostings ordered after 23/6/2010 Access controls of your FTP account can be set in the ‘service user section, by activating the ‘ISS webmanagement option’ for that service user

Page 55: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

55

. And in the next screen giving access to FTP access to content management:

Page 56: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

56

14. Where can I get my online web statistics? This FAQ is only applicable for hostings ordered after 23/6/2010 DNS & HOSTING

AWStats is used to analyze and log advanced web, streaming, ftp or mail server statistics. You will need to install AWStats for each domain you want to log your Web statistics for. This can be done by clicking the “Install Profile(s)” button when in the AWstats Web statistics window, you will learn how to get there if you take a look at the first way to check your web statistics, this is described below. There are two ways to check your web statistics. 

 

1) When logged in your Belgacom hosting panel, click on “Statistics & Analysis” then on “AWStats Web Statistics” found in the menu on the left. Click on the tab page with “Profiles” and then click on “Browse” for the desired domain. Your browser should then open a new window with the web statistics.

2) From your hosting panel you can also click on “Domain Overview” then on “Domain Administration” both found in the menu on the left. In this window you can pick the desired domain name for which you have AWStats installed.

Page 57: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

57

After choosing the desired domain name, click on the “Web Statistics” tab. Then you should get this window:

In this window click on the URL, this will open a new window with your Web statistics.

15. How can I have my own customized 404 error document?

This FAQ is only applicable for hostings ordered after 23/6/2010 You can have your own 404 error document. Once you are logged in on your Belgacom hosting panel, click on “Webspace” in the menu on the left. Then click on “WebSite Configuration” and open the tab page Error Documents.

Page 58: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

58

Once you have found the error code 404 click it. You should see this in your browser:

Over here you can choose a file or an URL with your customized 404 error. Notes: The file has to be located in the “errdocs” folder, you can find this folder in the root folder of your web space. If you are using static custom error files (HTML files), you should always use the File option. If you plan to develop an application (by using ISAPI or ASP) to handle errors, then use the URL option If the file or URL does not exist, errors will be handled by default If the file exists, its contents will be displayed to the browser.

16. What is the PERL version and path? This FAQ is only applicable for hostings ordered after 23/6/2010 Once you are logged in into your Belgacom hosting panel click on “Webspace” and then on “WebSite Configuration” in the menu on the left. In your browser window you should be able to see a line with “ActivePerl support”. Click on the little arrow in that line to see all the basic settings of PERL.

Page 59: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

59

17. What is MySQL?   This FAQ is only applicable for hostings ordered after 23/6/2010 MySQL is the world's most popular open source database software. MySQL is very often combined with PHP or Perl applications for data storage and logging of user data.

18. How do I connect to my Database using my PHP script?

This FAQ is only applicable for hostings ordered after 23/6/2010 To connect to your database from your PHP script, you can use the following code : mysql_connect(“localhost”,”admin”,”password”); in which you replace “password” by your FTP password. In this case, the user is “admin”., For security reasons, we would advise you to only use “admin” for administrative actions, and to create a new user with limited rights for your scripts. How do I connect to my Database using my Perl script? To connect to your database from your Perl script, you can use the following code : DBI->connect("DBI:mysql:database:localhost",”admin”,”password”); In which you replace “database” by the name of your database, and “password” by your FTP password. In this case, the user is “admin”. For security reasons, we would advise you to only use “admin” for administrative actions, and to create a new user with limited rights for your scripts. What is the MySQL version on my Unix hosting ? The version at the moment this document is being written is 5.1.453.23.58

19. What should you choose, a static or a dynamic web page?

This FAQ is only applicable for hostings ordered after 23/6/2010

Page 60: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

60

If the purpose of your web page is just giving some pages of information to its visitors you can go for a static web page, this is not a very scalable solution so it’s only good for smaller websites. If you intend to have some interaction between the users of your website or if you are planning to build a larger website that has to be updated a lot or that will use data from a database or other resources, it’s probably better to go with a dynamic web page. This offers a more scalable solution perfect for every website that more than a few pages of information.

20. Protected Directories (Linux) This FAQ is only applicable for hostings ordered after 23/6/2010 Log into the control panel of your webhosting as explained in “How do I access my Webhosting control panel?”, and select ‘Protected Directories’

Click ‘Add new protect directories’ or select a directory to delete

Page 61: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

61

Here fill in the name of directory to protect. Click ‘Submit’ If the directory does not exist it will be created. Note:if you change the name of a protected directory (eg with file manager), it will no longer be protected Next click on the name of the protected directory to select what users to give access to the directory.

Page 62: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

62

Page 63: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

63

21. Protected Directories (Windows) This FAQ is only applicable for hostings ordered after 23/6/2010 Log into the control panel of your webhosting as explained in “How do I access my Webhosting control panel?”, and select ‘Service Users’

Create a new service user, or select an existing one

Page 64: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

64

For existing users, select ‘Add Service’

Select ‘Authorized Web Access’ to protect your website, click Next

Page 65: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

65

Then select what website this user will have access to

Note that as soon as a website has a user with access rights, the entire site becomes protected. There is no option to only protect a particular webpage within a website. Note that as soon as the last user with access rights to a particular website is removed, the entire website becomes unprotected. Once a service user has authorized web access, it is possible to give rights to additional websites here:

Page 66: Webhosting FAQ This FAQ is only applicable for hostings ... · 10 For shared webhosting accounts containing multiple websites, you are then asked to choose a website to add the application

66

To remove access rights. Click on the website to remove