Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Propeus00's avatar

Where is httpd.conf apache file in Homestead?

I installed homestead/vagrant box with an apache server, everything is working fine, but I am becoming mad at finding the httpd.conf file inside my project or wherever it is, I completely don't understand where it is, as well I was trying to find the NGinx folder and files and there is no trace of any webserver inside my installation and neither inside the Homestead folder copied from GitHub, begging for help please!

0 likes
5 replies
Sinnbeck's avatar

Did you try logging into the machine to check?

ssh vagrant
Propeus00's avatar

Yes sure I am doing a vagrant up and and vagrant ssh, but when I go in my project to look for file like httpd.conf which I part of Apache I cannot find it, I don't understand if it's me that I don't know where is it, or is just not there at all, the only thing I could find was an apache folder with a text file inside called default.txt but I don't think was the right one. Where do you usually go to find nginx or apache configurations in your Homestead project, could you please tell me the path to access?

Sinnbeck's avatar

Well the config is inside the virtual machine.. Vagrant just forwards the traffic to it.

Try the following from your working directory (where homestead config file is)

vagrant ssh
ls /etc/nginx/sites-enabled -ls

Here you get a list of the site configs

Propeus00's avatar

Is there any file manager that can access this files like through a normal windows frame?

Sinnbeck's avatar

There is no GUI. It is running as a headless server. But you can open the files using

nano filename

Please or to participate in this conversation.