SBW Hosting - Reliable UK web hosting on Windows 2003 web servers
SBW Hosting provide reasonably priced, managed UK Windows 2003 web hosting for small businesses, organisations, charities and individuals
SBW Hosting - Individually tailored UK Windows 2003 web hosting packages
SBW Hosting - Value for money UK Windows 2003 web hosting packages

Frequently Asked Questions

What directory do I put my web site files in?
On entering the FTP folder you will see three other folders:

The "wwwroot" folder is the folder you would be most interested in. Any files held within this folder will be able to be seen on the web via your domain name. The first file you should put in here is an "index.htm" or equivalent start up file. The "index.htm" file is the file that is first seen on entering your domain name into a browser address bar as, in this example e.g.
"www.your-domain-name.co.uk" instead of having your visitors type in
"www.your-domain-name.co.uk/firstpage.htm".

If you put a new folder into the "wwwroot" folder it will appear as a subfolder for your domain. e.g. If we were to create the folder called "images" within the "wwwroot" folder it will appear as
http://www.your-domain-name.co.uk/images/.

The "db" folder is where you should put any databases or password text files that your site uses as this folder is above your webspace and so, will be a much safer place to store sensitive information because it is unavailable to browsers of your site.

The "log" folder is where you will find access logs for your domain.

How do I use Server Side Includes
To cut down on repetitive coding or to add navigation to all your pages you can include another file in your page by using the following code:
<!-- include virtual="your_file.htm" --> or <!-- include file="your_file.htm" -->
You will also need to use the file extension .shtml (or .asp if your package supports ASP)

How do I configure my domain name.
If you registered your domain name yourself, you will need to update your DNS server information with the registrar that you used. Please use the following information:

Primary Name Server: ns1.sbw-dns.net - 89.238.132.45
Secondary Name Server: ns2.sbw-dns.net - 216.67.244.214
Additional Name Server: ns3.sbw-dns.net - 195.74.53.125
Additional Name Server: ns4.sbw-dns.net - 89.238.132.46

Can I send email via my domain?
If your package supports ASP and you want to send email from your domain (website) using CDOSYS or CDONTS then this is fully supported
For normal email, use the SMTP service of your ISP (Internet Service Provider).

What directory do I put my asp/aspx pages in?
The server will parse asp/aspx pages in any and all directories.

How do I connect to my Access database?
You can use DSN-less connections or set up a system DSN.
DSN-less connections are faster than System DSN connections because DSN-less avoids doing a registry lookup.

Examples of code to illustrate three ways to connect to your access database:

DNS-less connection to an Access 2000 Database:

Dim conn
Set conn=Server.CreateObject("ADODB.Connection")
conn.open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;
Data Source=d:\webs\your-domain-name.co.uk\db\yourDatabase.mdb"
' code for working with database here...................
conn.Close
Set conn=Nothing

DNS-less connection to an Access 97 Database:

Dim conn
Set conn=Server.CreateObject("ADODB.Connection")
conn.open "Driver={Microsoft Access Driver (*.mdb)};
DBQ= d:\webs\your-domain-name.co.uk\db\yourDatabase.mdb"
' code for working with database here...................
conn.Close
Set conn=Nothing

DSN connection to any Access database:

Dim conn
Set conn=Server.CreateObject("ADODB.Connection")
conn.open "DSN=Your_Access_DSN"
' code for working with database here...................
conn.Close
Set conn=Nothing

Can I write my own server side scripts?
Yes. When writing or configuring scripts, such as Perl scripts or ASP scripts for your website you may need to know the full physical path to your website's root directory. This path is as follows:

d:\webs\your-domain-name.co.uk\wwwroot\

The physical path to your database folder is:

d:\webs\your-domain-name.co.uk\db\

What is the path to Perl?
You don't need to specify the path to perl if your site is on our Windows 2003 servers, as long as the scripts are given the extension ".pl".

However just for the record, the path is c:\perl\bin\perl.exe

Note: You will need to ensure that your .pl and .cgi scripts are placed in the "\wwwroot\cgi-bin\" of your FTP account as they will not be able to run anywhere else in your webspace.

SBW Hosting - UK Windows 2003 web hosting for small businesses, organisations and charities