►
From YouTube: DDEV-Local Casual Webhosting
Description
Please note that this is for the curious and moderately experienced DIY user and is not a replacement for managed hosting services. Read the associated blog and get all the right links at https://www.ddev.com/ddev-local/watch-ddev-local-new-casual-webhosting-feature/
A
Hi,
my
name
is
randy
fay.
I
am
going
to
give
you
a
little
demo
today
of
a
new
feature
of
dwevlocal
and
that
is
the
casual
web
hosting
feature.
It's
cheap
and
easy.
It's
open
source
and
I'm
sure
you'll
hear
me
say
several
times.
This
is
not
a
replacement
for
managed
hosting
they're
different
things,
but
this
is
a
way
to
get
a
site
up
onto
the
internet.
Maybe
it's
a
specialized
site,
maybe
low
volume,
maybe
you're
just
trying
to
show
it
off,
maybe
you're,
just
maintaining
it
as
you're,
demonstrating
it
to
somebody.
A
There's
a
lot
of
good
uses
for
it
and,
let's
take
a
look,
so
people
have
been
liking,
ddev,
local,
for
a
long
time.
They
do
the
local
development,
they
do
a
ddf
config.
They
do
a
ddf
start
and
they
say
there
it
is
and
they
can
change
php
versions.
Each
project
can
have
a
different
one.
It's
way
easier
than
a
normal
server
setup.
A
A
A
I'm
going
to
demonstrate
today
on
a
linode
server,
a
nano
server,
a
five
dollar
a
month,
one
gigabyte,
server
and
I've
got
a
couple
of
I've
got
a
couple
of
my
trivial
sites
already
on
one
of
these,
and
I
think
I'll
add
this
one
after
we
get
done
today
and
of
course
I
could
up
up
it
to
the
10
a
month
version
and
it'd
be
fine,
but
the
overall
performance
characteristics
and
sizing
aren't
known
and,
of
course,
there's
no
automatic
way
to
scale
it
up
like
you
would
expect
in
a
managed
service.
A
A
While
the
web
image
has
been
hardened
and
sudo
has
been
removed
from
the
hardened
image,
there,
isn't
any
team
of
security
experts
signing
off
on
this
new
feature,
and
I
should
point
out
to
you
that
you
may
want
to
try
some
other
techniques
if
you're
just
trying
to
share
your
project
right
now
with
a
friend,
you
don't
need
to
do
this,
just
use
the
ddev
share
command
and
it
works
great.
It
uses
ngrok,
very
easy
to
use
and,
of
course,
ddev.
A
A
We
don't
want
to
work
with
root
on
a
server.
We
want
to
stop
that
as
soon
as
we
can
always
so.
Okay,
let's
do
it
we're
going
to
spin
up
the
server
let's
go
to
linux.
Here
I
am
going
to
create
a
linode
and
I'm
going
to
use
ubuntu
20.04,
because
it's
working
really
well
with
it's
working
really
well
with
ddev
these
days.
It
has
the
docker
and
docker
compose
that
we
need
in
it.
So
you
don't
have
to
go,
don't
have
to
work
as
well.
It's
hard
to
install
it.
A
A
A
A
A
A
The
project,
the
site
that
we're
going
to
move
is
pkhrconsulting.com,
and
so
the
first
thing
I'm
going
to
do
before
I
try
to
move
the
whole
thing,
I'm
just
going
to
move
a
a
test
version
of
it.
So
I'm
going
to
say
that
I
want
to
move
demo.pkhr
consulting
and
I'm
going
to
set
it
to
one
minute
timeout
and
here's.
My
new
ip
address.
I'm
going
to
use
that
and
now
let's
make
a
name
for
the
server
as.
A
Oh,
I
didn't
delete
it
before
so
here
we
go.
I
did
a
test
run
of
this
before
and
I
didn't
delete
this
one,
so
I
set
it
to
one
minute
timeout,
so
it's
probably
okay,
but
we
can
get
in
there
anyway,
but
I'm
going
to
change
it
to
the
new
ip
address
and
let's
just
do
one
thing
while
we're
over
here
I
like
to
not
forget
to
set
the
reverse
dns
when
I'm
setting
up
one
of
these,
so
here's
the
ipv4
address
and
I'm
going
to
edit
the
reverse
dns
demo.phase.us.
A
Oh
it
it
doesn't
have
the
forward
enter
yet
it's
it'll
be
there
in
a
minute
I'll
come
back
to
that
after
a
while.
So
okay,
let's
take
a
look
at
where
we
are.
A
A
A
A
A
A
A
Rfe
I'll
need
to
use
that
for
sudo
a
little
later
and
let's,
let's
go
ahead
and
set
up
the
rfa
ssh
settings.
A
A
A
A
And
I'm
just
going
to
log
in
as
an
unprivileged
user,
and
here
I
am
I'm
able
to
go
right
in
there
and
now
we're
going
to
install
now
we're
going
to
install
docker
and
ddif.
So
let's
take
a
look
at
the
instructions
for
that.
A
A
A
A
A
And
now
I'm
in
so
I've
got
the
docker
officially
added
to
my
account
now
so
now
we've
got
docker
working
and
what
we
need
to
do
is
install
dev.
So
let's
go
ahead
to
the
docs.
For
that
here's,
the
we're
going
to
use
the
script
to
install
you
can
also
use
homebrew,
but
we're
going
to
use
the
script
to
install
it.
So
I'm
just
going
to
copy
here
and
I'm
just
going
to
paste.
A
A
A
Import
the
files
in
db-
I
guess
we
need
to
configure
it
before
we
can
do
that.
So,
let's
do
the
configure
we'll
just
do
it
with
the
additional
fqdns
to
start
with.
No,
we
won't
we'll
just
do
it.
Dev
config.
A
A
For
these
things
to
be
pulled
really,
we
should
have
disabled
phpmyadmin
and
we
should
have
disabled
the
ssh
agent
as
well.
So
we'll
do
that
in
a.
A
A
Okay,
there
we
are,
we
have
it
running.
We
can't
easily
hit
it
with
a
browser
yet
because
we
aren't
pointing
the
dev
site
to
it
and
we
haven't,
we
haven't,
put
a
database
in
there,
so
we
just
want
to
install
anyway.
So,
let's
remember,
though,
to
do
the
dev
config
global
omit
containers
equals
dwf
ssh
agent
and
dba.
We
don't
need
the
the
dba
which
is
the
which
is
the
phpmyadmin,
and
we
probably
don't
need
the
dwiv
ssh
agent.
Usually
that's
used
in
more
of
a
development
environment.
A
So
I'm
just
going
to
do
that
and
we'll
get
those
done
and
now,
let's,
let's
get
some
files
and
a
database
up
there.
I
always
put
files
in
a
database
in
a
directory
called
tarballs.
A
A
And
I
should
see
a
regular
drupal
7
contents
and
I
do
so
I
can
hit
that
now.
So
I
have
a
running
site
and
it
has
its
files
and
everything
else.
So
we've
checked
out
the
code
imported
the
files
in
the
database.
A
And
now
we
need
to
do
a
couple
of
global
configuration
here.
We
need
to
tell
dwf
globally
to
bind
all
interfaces
which
means
listen
to
the
outside
world.
In
a
development
environment.
We
don't
want
to
be
listening
to
the
outside
world
and
we're
going
to,
I
guess,
here's
the
omit
containers.
We
already
did
that
we're
going
to
do
the
used
hardened
use,
hardened
images,
use,
let's
encrypt
and
let's
encrypt
email.
A
A
And
what
else
do
we
have
to
do?
We
already
did
the
omit
containers
router
by
router
bind.
All
interfaces
has
to
be
done.
A
Okay,
there
they
all
are.
We
have
the.
A
A
A
Httpsdemo.Pkhrconsulting.Com
and
it
could
even
work
and
it
did
work-
that's
amazing
there.
It
is.
If
you
look
at
the
certificate,
you'll
see
that
it
was
just
issued.
It's
it
expires
in
february,
it's
now
november.
This
is
three
months
from
now
there
it
is
so
we've
got
demo.pkhr
consulting
going.
So
that's
good!
We
can
go
around
to
it.
We
can
log
into
it
all
those
things.
A
A
A
And
now
we
can
change
the
actual
root
of
this,
so
we'll
change
it
from
where
it
was
to
where
it
is
now.
It's
a
great
thing
to
wait
to
do
this
until
you've
already
tested
the
site
with
a
different
subdomain,
because
that
way
you
know
that
it's
good
and
then,
as
dns
propagates,
you
can
expect
it
maybe
to
land
a
couple
of
times
at
the
old
site
before
it
lands
at
the
new.
A
A
And
we'll
do
a
ddf
start
again.
We
need
to
wait
just
a
second
for
this
start,
because
we're
hoping
that
that
let's
encrypt
will
pull
up
the
new
name.
A
A
A
Now,
let's
just
go
visit,
pkhr
consulting
and
it
is
not
working
yet
most
likely
because
we
hurried
too
much
with
getting
that
through
there.
Well
actually
yeah.
So
it's
this
still.
This
does
not
have
a
it.
Has
our
our
development
certificate
on
it
still,
and
we
don't
want
that.
We
want
the
real
thing,
so,
let's
just
d
dw
power
off
and
because
we
want
it
to
renegotiate.
We
want
the
router
to
renegotiate
that
we'll
do
dwf
start
again
and
we'll
see
if
see
if,
let's
encrypt
can
find
demo.pkhr
consulting.
A
A
A
Let's
just
take
a
look
at
the
status
report.
It
needs
to
have
the
database
update
script
run
on
it,
so
we've
got
a
little
bit
of
work
to
do,
but
things
are
looking
pretty
good.
We
can
check
for
updates
it's
a
real
live
site,
so
there
we
are.
A
A
We
we
set
the
dns
to
point
to
it
and
then
we
did
a
restart
and
I
did
have
to
do
a
ddf
power
off
and
it
did
have
start
to
get
the
router
to
renegotiate,
probably
because
we
started
too
quickly
after
changing
the
domain
name
and
dns
the
the
instructions
in
the
let's
just
take
a
look
here:
here's
the
here's,
the
casual
web
hosting
section
of
dw.readthediox.io-
and
it
tells
you
how
to
set
up
so
that
dweb
will
automatically
start
on
system
setup
because
on
system
system
boot
you
certainly
want
that.
A
You
probably
want
your
containers
to
auto
restart.
That's
a
global
configuration.
You
want
to
enable
outgoing
mail
from
the
site.
If
you
have
any
transactional
email,
especially
mail,
usually
would
go
to
you,
but
if
you
have
any
transactional
email
and
you
have
to
enable
outgoing
you-
you
probably
want
to
enable
outgoing
email
from
the
server
and
tell
it
where
to
go
so
that
you
get
notifications.
A
If
the
server
has
trouble,
those
we
won't
go
into.
Those
setting
up
outgoing
email
from
the
site
usually
means
installing
an
smtp
module
and
bouncing
it
through
one
of
them.
A
You
know
mail
gun
or
one
of
the
email
providers
like
that,
and
you
probably
want
to
configure
offsite
backups,
that's
another
that
can
also
be
done
with
a
module
or
plug-in.
There's
many
other
ways
to
do
it.
You
can,
you
can
do
ddev
export
db
and
save
the
file
if
you
want
to
or
ddef
snapshot
and
reverse
dns.
I
was
almost
going
to
do
that
at
the
very
beginning,
but
I
recommend
that
you
do
set
up.
Reverse
dns
helps
mail
to
work,
so
we
got
it.
A
We
got
it
going
some
reese's
resources
for
you.
The
casual
web
hosting
docs
are
indeed
read
the
read
the
docs.I
o.
You
can
just
search
for
casual
in
there.
A
The
dwev,
repo,
github.com,
dreaddev
and
don't
forget
about
ddub.com
the
ddev
live
project.
Dida
has
been
sponsoring
dwf
local
now
for
four
years,
and
you
should
try
out.
Ddap
live
for
real
managed
hosting
there's
a
there's,
a
a
great
startup
deal
out
there,
and
then
I
think
the
pricing
for
for
a
regular
site
is
fifteen
dollars
a
month
or
something
like
that
right
now.
Anyway.
Thank
you
very
much
for
joining
me
and
happy
to
see
you
in
any
of
the
support
locations
anytime,
and
I
hope
you'll
try
this
out
thanks
a
bunch.