Set Up Subdomains With Linode Ubuntu 18.04 and Apache Web Server (including dns)

Hi,

Sometimes it's hard to locate good information if you don't know what you're looking for. I thought I would just, plain ask the community what the best go to ariticle/s and how to/s for my use case? I hope that's ok.

I need also the instruction to include setting up dns (linode agnostic as well as linode specific).


:~$ ssh $linode
[email protected]<my-linode-ip-address>'s password: 
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-48-generic
x86_64)

My domain is:

www.bithouz.com

I also need:

www.engage.bithouz.com
www.develop.bithouz.com

My web server is:

~$ apache2 -v
Server version: Apache/2.4.39 (Ubuntu)
Server built:   2019-04-02T20:30:26

The operating system my web server runs on is:

~$ lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:    18.04
Codename:    bionic

~$ uname -r
4.15.0-48-generic

My inclination is to set up a wildcard subdomain as well as wild card certification > through letsencrypt and certbot. But I'll want to configure everything else proper
first.

Thanks in advance for any assistance.


Sincerely,
Jake

3 Replies

Hi Jake! We have a pretty good guide on setting up a website on Ubuntu 18.04 that covers everything except DNS. For DNS, we have a guide on using our DNS Manager if you'd like.

If you want a guide that's not specific to Linode, there's an official Ubuntu server guide on installing a LAMP stack on 18.04. In fact, Ubuntu has quite a few guides for 18.04 already.

For DNS, it really depends on where your DNS is set up. Different DNS services will have different control panels, but all DNS records are the same. To learn more about DNS you can check out our intro to DNS records, or Cloudflare's guide on DNS.

That's wonderful. Thanks.

I don't see a way to mark these as solved or closed. It is though. Thanks.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct