![]() I guess because they’re all relative links. Still noticing that if you go to or danj.ca, the hyperlinks to all articles have that domain.Ok, now redirects me to the website at it doesn’t seem like my Apache config is working as intended.Selected Apache plugin as the challenge mechanism, confirmed I wanted to add the new domain, that’s all it took.Ran > sudo certbot certonly -cert-name danj.ca -d danj.ca,.Sidebar: Adding domains to an SSL certificate Also note that now (an existing CNAME) leads to an empty directory listing… what’s that showing me? □.Now gives me a certificate error, presumably because it’s not configured for SSL, so it might be working.Ah, reviewing some docs, I was reminded I need to restart Apache after adding server configs.Ok, created the CNAME, let’s see what happens… might need to wait for DNS to propagate.Hmm, actually right now in a web browser just sends me to I guess there’s a wildcard subdomain record?.Let’s put a test index.html in share’s public_html dir, and that’ll let us know if we’re finding it. If I recall correctly, I think we can set up a CNAME from to danj.ca, and Apache should do the right thing, but I could be missing a step.In Hover, we need to add a CNAME so that requests to go to the server.Usermod reported “no changes”, so I guess it was fine.Oh, by the way, it looks like this is how you assign a user’s homedir: sudo usermod -d /home/dropshare dropshare, so let’s do that.Give the dropshare user ownership on the /public_html directory.Ok, created the directory by hand and made the dropshare user its owner… I wonder if I have to configure something to actually make /home/dropshare associated as the user’s homedir… but we’ll see.…Oops, should have used useradd -m, he didn’t get a home directory □.sudo ln -s /etc/apache2/sites-available/.conf /etc/apache2/sites-enabled/.conf. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |