How do I set up a Virtual Host on Mac Terminal using Apache2; Debian

I'm trying to Install Wordpress have been successful following the instructions up to this point. I am unable to set up a virtual host and create a domain. I have tried /etc/apache2/sites-available/ with a domain at the end and it says "no such file or directory"

1 Reply

Linode Staff

Hi there,

/etc/apache2/sites-available is usually where your domain's .conf file will live. You can see an example of how this is set up in our LAMP stack installation guide. If the directory does not exist, that would suggest that Apache is not installed. In that same guide, there's an installation section you can use as reference.

In addition, I don't know if you already know but you can also install Wordpress by using our One-Click Apps:

https://www.linode.com/docs/platform/one-click/deploying-wordpress-with-one-click-apps/

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