Walk Lightly on this PLANET and yet leave such a FOOTPRINT that cannot be erased for thousands of Years..!!!
Visit Codstech for Cyber Security related Posts !

Visitors

Tuesday, December 24, 2013

How to Host a site?

Back to Creating web sites , Taking a Domain Name & Hosting
Here, I am explaining to 
  1. Download Filezilla
  2. Host a site using Filezilla
Filezilla is a Free Open Source FTP Solution.

Keep in mind that , Domain name is something like your House Name , and a Hosting Plan is something like a plot in which you want to build your house .

A : Downloading Filezilla 

Download Filezilla Client from here .
It will look like this.



When we click dowload , we can see



Click NEXT , then we can see;


Click ACCEPT , then 


Again , by clicking ACCEPT , downloading starts.


After downloading complete ,


Choose the appropriate option , and click NEXT.


Click NEXT , and choose a folder for installing Filezilla.

Again , click NEXT

Click INSTALL

And Finally ,


Click FINISH.


B : Hosting a site using Filezilla 


Now double click on the Filezilla , to open it

STEP : 1


.The output screen will be like this.



After writing the HOST , USER NAME and PASSWORD , we can click QUICKCONNECT to test the connection. But always have to make sure that , we chose our protocol as FTP. To check this,

Click , FILE --> SITE MANAGER . Then we can see,

STEP : 2




Select the protocol as FTP , and give your USER NAME and PASSWORD .
Click CONNECT .

(This user name and password is given by the Admin of the site, who have a control over cPanel , refer "Taking a Domain Name & Hosting " .

What you'll see next is a whole lot of text scrolling in the top window. That’s the FTP program communicating with the server. Hopefully it’ll be successful and you’ll see a whole lot of green and blue text flashing through that window, then some other windows will open in the main window on the right.
See the below given picture :


The window on the right represents the files and folders on your server.
Depending on the features and administration tools your hosting provider has bundled with your account, you might see a range of folders here.

The windows on the left represent the files and folders on your computer .

If already connected , then we can see a message as ;



To know about "How to select a HOST , and how to register with User name and Password ", click here .

Then we can see ,

STEP : 3

After connecting , browse the web site files we want to HOST (in the left side) .
When connecting , we can see the files in the server (we choose).




Here , our selected HOST is Onlineindiashoppe.com

NOTE : 

To connect to an FTP server, enter the address of the server into the host field of the Quickconnect bar (e.g. onlineindiashoppe.com ). If it is a special server type like an SFTP server, add the protocol in front of the address. In case of an SFTP server, start the address with 'sftp://' (e.g. sftp://onlineindiashoppe.com). 

Please notice that the Quick Connect is for... quick connections - so there is no way to edit the quick connections list which stores the last 10 entries. To store FTP server names you should use the Site Manager, instead.
Quick Connect is good for testing the login info before making a site manager entry. Once you connect, you can choose File -> "Copy current connection to Site Manager..." to make a permanent entry. It is usually best to check your login info with Quick Connect before making a permanent entry.

STEP : 4

Select Public HTML from right side.Double click on it.


STEP : 5

In Public HTML , create a folder (Here , created a floder sfc , for example).See the picture below :
(Right click , then create directory ).

Note that , if you took a Hosting plan and pointed your first domain to it , then that domain is considered as the primary domain.So no need to create a folder under public_html .
Just transfer all your files under public_html .
And if you want to host another site , create a folder under  public_html  and transfer the files into it.

Click here to know about it.


STEP : 6


Drag and drop the files (from left side) to the folder we created (here , sfc ).


you just need to drag and drop them into the big window on the right hand side and Filezilla will upload them. You could also right-click and select "upload".

There's no magic "publish" button when it comes to FTP. As soon as you upload something to your website it goes live, so any files you've dragged across in the previous step should now be available on the Internet!
 If the files are already there in the server (right side) , it will ask whether we want to replace with the old file.

Click the folder symbol (below the heading file name) to  go back to the previous file list.

STEP : 7

Database Hosting : 

Now we have to host the created Database also along with the files.
To do this , we are using cPanel .
For example ,  This is the address of cPanel , of onlineindiashoppe .

Steps are :
  • Open your cPanel 

  • After login , we can see


  • Select "MySQL Database" . Then we can see

Now , do these steps :

  1. In MySQL database , create a new database
  2. Create a new user (by adding a user name and password )
  3. Now , let's add the user to the DB (DataBase) , and click Submit
  4. Click "Make Changes" after checking the previleges you would like this user to have for this DB

These are the basic steps .
And how to connect your database , will follow in other session. 

Try cPanel Demo at first , in order to have a rough idea about cPanel.

The Hosted site is :



ASP.NET - Introduction

Refer SQL - Quick reference (For understanding database concept)

Here , I am giving you some introduction about .NET (Dot NET

Click here to download ASP.NET platform.


Now see below , how to open it.
Download and open the file .
And select the downloaded file from the menu and open it.

Before that , refer Access to an attachment Gmail regards as a virus , and we are going to open that file here.

When we open Visual Studio , we can see the HOME page as given below :

Start page

How to open a project ?

When we wants to open a project , at first save/extract the project in the desired folder .
Click "open" from the above Start Page of Visual Studio.Then,a dialog box will appear.


And , select our project.

Click the selected "Project Details" and it will open .
(Note that , when we manually go to the folder , we can see the total asp.net files. But here can see the the source file only) .

In the right side , we can see a portion named "Solution Explorer" . Here we can see all the files created in asp.net.

How to create a project ?

When we wants to create a project , click "New Project" from the  Start Page of Visual Studio.Then,a 
dialog box will appear.

Specify the location you want to save , and give a name .

Here, we want to create a console application (In visual C# language) .Select that one and click OK.

Have doubt in consol application ? Refer JAVA 's console application here


Progressing......>>>

Back to HOME