Tip:
Highlight text to annotate it
X
hello world, uh I'm Arestephes and today I'm gonna show you how to set up
a web server for a website
Uhm, so first what you're gonna wanna do is you're gonna wanna download a few things
I and want to download WampServer
first of all and then you're gonna want to install it
the way you get to it has most of you
probably guess you just Google WampServer just go to the site
and then you go
here to download and then you find the one best suited for you
Uhm, I chose the 64-bit
for Windows
so I just clicked here and then there's a better french here
and then it says you can download it directly here
but you have to have this installed for it to work
so that's uh, recommended
you should probably download that so you can download it here to bring you to
SourceForge
I believe, yes
and then it'll start downloading but I already have it so
I'm not going to do that so we're gonna go
Download or install WampServer
next
Accept, next, next or you can change the
um, directory if you would like
create desktop icon
install, and now we wait for it to install
okay so I'm gonna skip ahead guys
and let you, not, suffer this
duration of waiting okay
so after first part is done installing it'll bring up this window
um, ok everyone who uses Windows probably uses
Explorer what the Explorer is it's just
what actually lets you view your files so
this is an application called Explorer
most people don't know that
um, anyways you go into set up and then on just
press open and then it'll finish the installation
um, unless you have other specs here
if you have no idea what you doing then just click Next
and then click finish
let it make changes to your PC
and uh, yeah so
what you have now you have this little WampServer icon at the bottom
it might be in your tray, um, so what you wanna do is you're gonna wanna click on it
not right click
and, well, to test
your server you're gonna wanna click localhost
when you first install it this is what will come up
these are the default pages that are
installed it gives you um
well your tools basically you have
phpmyadmin, mysqlbuddy and webgrind
um, to change that go to the www directory
and then you
um take the index file
and me make your own will be doing that in a later episode and actually gonna
create
my own website and I'm going to
while I'm developing it I will show you guys
everything that I do so you guys can make your own site along the way
um so
What you're gonna wanna do first is you gonna want to
go into apache and then go into service
and click install service
um, this is one of the biggest problems
asked why doesn't work, um right here it says
that it's our its already being used
well by Apache because I've installed it there
but uh normally it says something like
Microsoft IIS
mine was version 8.5 if that comes up
then what you're gonna wanna do is you're gonna want to
go into your command prompt run it as an administrator
and then you're gonna wanna type in uh
"iisreset /stop"
and then
it'll say Internet services successfully stopped
anyway that's how you fix that problem there is another
few problems I had while trying to setup
WampServer um if you wanna know
install MySQL that's all up to you
I do it anyways, I have it-- don't really use uh
PHP or MySQL not yet anyway
I'm gonna kinda learn myself
as I go through this season so
um, what next... okay so
what you're gonna wanna do is you gonna wanna start all services
and then you're gonna want to put it online
okay so once everything's installed it'll be green
it'll be online but you still have a few problems
the main one would be the
httpd.conf
What you're gonna wanna do is you're gonna wanna come in here and look through it
um, it-- you don't have to read everything
the only things you really have to read are the little bits
directly above the parts that don't have the pound sign
and a pound sign basically a
makes it a comment so anything that's after a pound sign
the system doesn't read so what this line says right here
is that this is the part that you have to open
to make it work
the port that world have your web
site allowing people in so
by default it eighty some internet service providers don't allow port 80
so you'd have to change that but for this purpose I'll keep it at
eighty uh because it's
iunno, it's simpler that way. you have all these modules some other commented
out I guess
by default you don't-- or they're not
um, necessary by default so you just wanna keep them commented for now
um as you go down more
depending on what you want on your, your server you'll have to change things
but for just a basic website, um
what am I gonna change... okay before we get there
uh, right here the document root this is where your
uh website is located on your computer so
right now it for me it's located on C:/wamp
/www. that is the default
um, (what's it called..?) the default directory
so say it's on your D drive just type in D and then put
where the files-- folders located you can make the folder where ever you want it
does not have to be in the Wamp directory
but you have to make sure that the path is correct
um moving on... now here
is a difficult
peace. well actually no not really
okay all you have to do is take "Deny" here and type in "Allow"
and that should fix everything. just Ctrl+S to save
when you're done or I'll save
every time you make a, uh, change to this file you and want to restart
all services but that basically does it rereads
all preference files including this one and restarts the server
so (where are we now)..?) I'm
Oh! one thing that didn't happen while I was installing WampServer that did
happen another time
there was a fire wall prompt that came up so I'm gonna go and
fire all right now before I forget to do this
are all firewall okay now we're gonna
allow an app through the firewall change settings
and well we're gonna have to look through to find
I think that is it
and then it should be guided through firewall
um, with that being said we can continue
on uh, I can almost guarantee that while I'm doing this there will be something
wrong
I apologize for that if there isn't than thank the Lord but
you know
uh, I've installed and uninstalled
uh, WampServer quite a few times so
should know anyway I think that anything that's necessary
though two things are you really wanna look out for is uh the port
that's being listened for the website or the server
and uh, well the directory
and this you have to allow from all
if don't then um...
it won't be a public website but what you could do is you could
um allow from
and then you could type in uh
of friends IP address and just let a friend come onto the website
but then if you want to add more friends or family
you'd have to come in here and add each one uh
individually so
yeah, anyway that's tha we can close this
restart all services
and then we're going to want to install
the second bit so the second bit
is called DUC
yeah, so
more-- ugh I hate when it does that
uh I hate you Google Chrome
I mean I love you but you know recently just been being poo
so (where we going now..?) we're going to NoIP.com
this is unnecessary
well it's not completely necessary but it's really helpful
what NoIP does is it takes your uh
IP address and it turns it
into a readable address so the one that I would normally
use is uh arestephes.no-ip.biz
but that one's not hooked up right now because I and installed it
so I could show you how to install it um
yeah, see? but uh
uh recently bought a domain from uh
NoIP and with that I can actually
reroute my IP address or
my domain
to my IP address I thought it was pretty cool
because if you don't have a
uh static IP then it will change every time-- or every so often I think it's
either once a week or every time the internet restarts
so what you're gonna wanna do is to prevent that from happening
you're gonna want to create an account I'm already signed in
you gonna go to manage hosts with the free account you get:
three hosts and from apparently I'm not sign in
apparently for
and
for a free account new yep
three free hosts I you're very limited as to what you get
say at these are my hosts I'm not gonna be using
our way I'll be using that one not now or the FTP oppose are there for me
I love what you do is when okay so
Armik my old host for this purpose to show you guys how to do it
so 10 I P
I have all these awesome mourns
because I have a but and it said it right there
I have enhanced domains I get a lot more variety when choosing my hosts I can
have 50 hosts
and I think I paid I am
30 to dollars
American so I would be like thirty five dollars Canadian
because I'm Canadian got a line 11
anyway um here's a good tip for this
I'll when you
up if you decide to buy domain or anything
are mine actually came out to you $23 dollars comedian
because what I had done is ahead gotta right to the point
I'll beef for I ordered it
I was in my Pay Pal confirmation and I just closed it
and left because I was unsure about it
on but then today which is the day after
anyway today after a gun email saying
if you purchase it right now look at 30 percent off and they did exactly that so
there's a tip for your
if you go in and yet
cancel your payment are not cancel your payment if you go into the car
and order it without I'm confirming the pay
then you can get a discount
at know if it works for the credit card but it worked with Pay Pal so
there's courtship for you can save thirty percent that way
on
well as I do alright okay so let's get back to back her studies died no I P
.biz
okay so I think its a
were ol all that's cool I never realized that
on just caught click DNS host a
on if he you don't have
it port eighty accessible then just click poor a teary
correct and give the poor you want to use instead
anyway I N
signed a group but I've never used group for you put in your IP address here to
find your IP address he simply
Google by is my IP address
and a Google gives you your IP address because mine is not
ace static IPA I don't care
because it'll change the next time I restart my internet
but by with this
when you download the client the client will sink
so whenever your IP changes
your your host
will redirect to your new IP address
pretty cool so
now there's mail options and stuff but you have to pay for
male anyway
at halls here that's for me because
I'll my domain
dad don't worry about it on sorry and I we have
arrest or I have her stupid no I P .biz we have our new host
so now we're going do is we're gonna go and we are going
to download the client
okay so you just click download now it'll start downloading at a fairly
it's actually a really small file yeah its 235 kilobytes
but I really have a download it so I'm not gonna they're
and then we do. into duck so
I like it the cup doc anyway open it
Creek agree quick install this one's really fast just click
launch yet type in your username the reason you need to have a username and
password is
sold it can sync up to your computer and your hosts
you can use multiple arm
computers for one host I think
or what you could use you could have one computer hosting server and the doc on
another computer
I know its confusing but they made it take do that because all it's doing is
just sinking
from which wind we want this one
for this purpose cuz I don't even know that at Basel probably work but that's
besides the point
by Peter is say okay so this is exactly where your *** but like minus
the client ID and
the IP it'll say your group in one house unless you've created a host
and yes and whenever you feel like even click refresh now
you feel like that's the cause because I've had that because one time
at refresh by itself every five minutes even if you close the window it'll still
do its job down here fine
so that's that so now we have our web server
online we have are
while this page by default which would be appearing
in local host by default
on you can access your web pages through local host
by its local not online
so 8 won't
you server-side programming like PHP
and it'll just come out it as text if it PHP
um and then
cue access us what we doing now
now we have to you forward port eighty
that's the biggest thing we have to forward port 80
so now on as a fine
fun track okay let's go here
let's go search and we're gonna type and CMD
now we yet to you type in I P
con day I apologize if I'm going too fast
I'm just going at it I
yeah he'll come up with all this confusing stuff
and what you can one and look for is
hearts and not oh yes yes it is
tech right here Wireless lan: adapter wifi
n you're gonna want to actually if you have a desktop
it would be wired but I don't know how that would appear that have never done
this on a desk are
months you have a wifi adapter on your desktop
cell you're gonna want the ipv4 address
on actually you want the default gateway that's what you gonna want
so you know what to
at it all can I just highlighted I can't handle it
a new band name used to be able to do this
mark okay and market
Creek entered a copy say don't have to worry about
typing it all out want to copy you can you as you age with command prompt
you pasted into your address bar
and it'll bring up your
a your router settings
so their is a lot up different routers out there let me tell you
go to poor forward
Borel are dot com
and well here okay and while it tells you
external IP where no idea is you're gonna wanna go
two routers area and want to find your
type of router it will say it on physical router
at your house I'll somewhere on their
my bottle as this one on
oh no that's the model it would be to wire
that's what mine would be to wire so we'd go
and find to hire and then
you word for click here to continue to say
the click here running some solder Obama ad blocker yeah I am I hate ads
anyway so yeah and then you find your you are which one it is
and then it'll tell you mom birth cert sure you
9701 each chichi
okay so for this you click on any one inadequate you the poor
for what application you want by you know what
I don't even ever worry about that because the way I know how to do it
that's besides the point that has I'll
how to let anything through your router so people can come and access your
servers
I am Owens is in use one as an example is she Stevie
news Apache
works okay so then it'll tell you
I mean the screenshots are kinda old but
at did and when you scroll down enough to find something that looks like
what you want so here it says that you have to go to applications support and
for me
under a firewall settings the firewall applications for
yeah okay then you select the well for me
he select which device you want to
hold the which one
is allowed to forward to partner in 10 you're the one that you have the
computer of are the server on obviously
and then you create and new
you define application this I can almost guarantee this will be different for you
arm but and a lot of the time
of lot of the time when you first try to access
about the 1.9 2.1
68 died it's normally 1.1 but for some reason mind
to you got one you'll come up with a username and password setting
or protection or something so people can just go into here
router on
it it's not
on your physical router it then
you'll have to contact your Internet Service Provider to get
those pieces of information that's
all I can help you with you might be able to go online with default one are
I know I helped a friend one time that way because he wanted to set up
a minecraft server without having to tell his parents about it
competing but any mice yes so
port forwarding it walks you through what you have to do %uh
hey look at that tell you what part say in a minute what you want in a minute it
a
the name doesn't matter at all and then you
type in the port range
and from into
would be the same and then you just click click
add or yeah add to list
and then you know
come back to this page here
and then and now Sharia happy show your
my it much all not really
but I'll I'll be nice okay so
units use year
PC gonna go to user defined applications
and then you to click and you a quick at but
because it's already been added to my computer I cannot added to an hour
anyway so that is how you forward port
and wants you forwarded port its close of this
we have our lab setup we have are
no I P duck we have
are or forwarded so let's see
it we can do it me type in are
no I P post and then it should clear out
see any reason to be a problem okay
well I will
goal and try to fix that and
I will get back to you guys okay guys well I found the problem
I didn't take very long actually school it was a typo that I had done
sell because I typed in my are put in my IP address
and it had brought me to the site well this would be our site right now
arm I knew there was a problem with the doc
and it's not anything any problem with the doc itself it
that the host that I had made I had mistyped
they're supposed to be an he right after the T
aare St PAGs and there is no hier
so that was my fault and
if we type in Harris to km
but just remove E their ego
so that is how
that is how
now that you have your own server
in the next episode
I'll show you how to create your own
basic HTML page
after that
at a problem be ECSS to make it look
better in any case
hope
this helped a lot if anything doesn't go
as planned and he still cannot get it to work
after watching this video two or three times now
even if you can get it to work after wine the feel free to contact me leave a
comment
you know and like subscribe
thanks for watching