2. INSTRUCTOR:
LAURENCE SVEKIS
Course instructor : Laurence Svekis
- Over 300 courses in technology and
web applications.
- 20 years of JavaScript web
programming experience
- 500,000+ students across multiple
platforms
- Digital instructor since 2002
READY TO HELP YOU LEARN and
ANSWER ANY questions you may
have.
3. Selecting a Hosting Company
How do you want to use the hosting?
- Frontend HTML,CSS JavaScript
- Database?
- Backend Coding?
- Wordpress Site?
(server types , will you need shell
access or just FTP/SFTP)
How much traffic you expect?
- Storage and bandwidth
How much support you need?
- Check the customer service 24/7?
Performance needs?
- shared servers? Many host accounts
on same server. Limits on server
and services you can run.
- virtual private server - virtual
machine instance shared server
with separate instance.
- dedicated server - physical
machine only used by you located
at the host data center. System
admin full access.
Host reputation. Read Web Hosting
Reviews. Do your research online
before you choose.
4. Domain Name Selection
If you want to have a long term
website, own your domain name. This
way you always can change hosting if
needed.
1. Easy to remember and type
2. Shorter is better
3. Use keywords about your business
4. Avoid numbers and hyphens
5. Avoid misspelled words
6. Research it before buying make
sure no trademarks and other top
level domains that might already
exist.
7. Use an appropriate extension
8. Build your brand along your name
https://en.wikipedia.org/wiki/List_of_
Internet_top-level_domains
.com = commercial
.org = organization
.net = network
.edu = education
.gov = US government
https://www.domain.com/
http://whois.domaintools.com/
5. Hosting Siteground
Get 1 month Free using the afcode at
siteground
https://www.siteground.com/laurencesv
ekis?afcode=5e30574a7e6658b88dc36c550
2c1ed40
This is a special offer from
SiteGround for my students.
Please note that I do get a commission if you renew for additional
months.
6. Hosting Siteground
Get the free hosting it says hosting
plan ‘StartUp and hosting price is
$0.00/mo
https://www.siteground.com/laurencesv
ekis?afcode=5e30574a7e6658b88dc36c550
2c1ed40
This will be 1 month and you can sign
up without payment info. Only
available with the above link.
Once you setup you will get an email.
You can now log into your hosting
account.
https://login.siteground.com/sign-up
7. Setting up Your website
Select Start a new website
If you want software install you can
select the application here. Easy
Wordpress setup and common websites.
If you don’t want to install software
then click Don’t need help now
Complete setup…
8. User Area
If you want to register a domain you
can do so at Add Services
To get help you can select Support tab
Also status of your website
9. Your Website My Accounts
You have a default subdomain for the
account. You can see the URL at the
bottom of the page.
You can administer your domain
settings in this screen.
Server IP, FTP access, setup Emails,
and also cPanel.
10. Hosting cpanel - Dashboard
cPanel & WHM is an online Linux-based
web hosting control panel that
provides a graphical interface (GUI)
and automation tools designed to
simplify the process of hosting a web
site to the website owner.
This is where you can manage every
element of your web hosting.
Most hosts use cpanel
11. Hosting cpanel - Guide
Subdomains Icon
Add subdomains - more URLs?
Redirect
Lets you redirect a specific
page to another site.
Auto Installers - Quick install of
software
More Tools for wordpress and Joomla
CMS.
Set up emails for your site
- Create an email account - not
suggested
- Email forwarder - gives you domain
email and allows you to use
existing one.
12. Hosting cpanel - Guide
Back up your website :
- Good idea to back up your content
in case of hacks.. Or you need to
restore for any reason.
cPanel backup allows you to specify
what you want to backup.
13. Hosting cpanel - Files
File manager - Select start dir
Public_html is the directory
where your website frontend code
pages are. Defaults to show this
content in the URL.
Default.htm - is the default file
created by the system, you can delete
and update with index.html
Editing Files in directory
Navigate to file and select from the
top bar menu.
14. Hosting cpanel - FTP
The File Transfer Protocol is a
standard network protocol used for
the transfer of computer files
between a client and server on a
computer network.
You can add an FTP account or use the
main existing account.
● Add FTP account
● Note the Directory the client
will use
● Remember your LOGIN
http://laurences.sgedu.site/
15. How to FTP FIles from Local to Server
3 suggested FTP clients you can
download XML files to setup from the
cpanel or add manually the details.
● Filezilla
https://filezilla-project.org/
● CoreFTP Windows
http://www.coreftp.com/download.h
tml
● CyberDuck for Mac
https://cyberduck.io/
use SFTP for the most secure
Note your site URL and FTP URL and
Username to access the server
http://laurences.sgedu.site/
16. FILEZILLA
File > Site Manager
Select New Site
Enter site details under account.
Press connect
Notice that the FTP account will have
access only to the root folder which
was set in the account setting
cpanel.
● FTP server name: enter your domain name here or the
name of the hosting server where your account resides
(e.g. siteground200.com)
● FTP username: your cPanel username
● FTP password: your cPanel password
● Port: The default FTP port is 21. You an also leave this
field empty to use the default port.
17. FILEZILLA
● Use port 21 for FTP
● Once you connect the default
window shows you local computer
on the left and the server on
the right.
● Drag files from one side to the
other
● Use the transfer options in the
tabs or quick menu icons.
18. FILEZILLA SFTP
● Advanced > SSH/Shell Access
● Generate new SSH key pair
● Click on the private key link at the bottom
of the page corresponding to the key pair
that you have just generated.
● Copy the content of the text area, paste it
in an empty file on your computer and save
it ( .ppk).
● Open FileZilla, click the FileZilla button
from the menu then select Settings.
● Select SFTP from the left menu.
● Add keyfile
● FileZilla will ask you to store the key in
the putty format. Save it somewhere on your
computer.
● Connect to your server using the following
SFTP Username: your cPanel username
SFTP Password: your cPanel password
SFTP Port: 18765 (the default SSH port
for the SiteGround's servers since
SFTP is FTP over SSH)
19. Setup DatabASE
MySQL Database Wizard tool - easily
create a MySQL user and database then
assign the user to the database.
● Create a New Database
● Create User
● Add users to selected database.
Set Privileges as desired
● The user is ready
Setup database content and tables can
be done with phpmyadmin.
.../3rdparty/phpMyAdmin/index.php
20. Visitor Stats
Raw Access Logs - Raw Access Logs
allow you to see who has visited your
website without displaying graphs,
charts or other graphics
Error Log - displays the 300 most
recent errors for your site.
AWStats - visual statistics about
visitors to your site.
** other tools are not longed used
21. Thank you for your support
If you have any questions or comments please let me
know. I’m always happy to hear from you!!!
Find out more about my courses at http://discoveryvip.com/
Course instructor : Laurence Svekis -
providing online training to over
500,000 students across hundreds of
courses and many platforms.