Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8251801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T00:21:27+00:00 2026-06-08T00:21:27+00:00

I will be running 2 vhosts (dev and production). I’m thinking about creating 2

  • 0

I will be running 2 vhosts (dev and production). I’m thinking about creating 2 users (dev and prod) and directing apache to look into /home/dev/www and /home/prod/www. If I do this I will need to give apache the proper permissions to manage those folders.

Does this sound like a bad idea? Would it make more sense to just use /var/www/prod/ and var/www/dev ?

Thanks for any insight.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T00:21:30+00:00Added an answer on June 8, 2026 at 12:21 am

    Ultimately, it probably comes down to preference, but I think you should put them in /var/www/prod/ and /var/www/dev/ so that the sites are all in one place. If you need to back-up all of your sites, you know they are all in /var/www, and you could also make /var or /var/www its own mount point.

    You can still create 2 users for dev and prod, just give them some sane rights for those directories. You can make them all owner, make apache the group, and aside from possibly logging, you wouldn’t need to set g+w except in those instances.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a silverlight application which users will be running in various time zones
I am in the process of creating a java application that will be running
I'm writing some logging/auditing code that will be running in production (not just when
I need to write a module for Apache. The server will be running under
HI, I am creating an App in which countdown will be running. I want
I am about to start on a project that will be running as a
I'm working on a project where the end-users will be running Lua, and communicating
I'm working on a project which will involve running algorithms on large graphs. The
I have a web application where the client will be running off a local
We are working on a Vista/Windows 7 application that will be running in 64

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.