Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm doing a bit of web development and I've recently switched from Windows 7 to Linux Mint.
On my Windows computer I would store the websites that I was working on in the htdocs/myfiles folder. It would seem that the Linux equivalent is the var/www folder. However, I am finding that all I can do there is edit the current html.index file and I am unable to store multiple website in this location as I had previously done in the htdocs/myfiles folder.
I've tried chmod but it hasn't solved the problem.
...what am I doing wrong here?
Where do Linux web developers usually store files for variouse site they are working on?
Evo2, after I changed the permissions I was able to create new directories in the www directory. However, I was not able to remove the existing html.index file and when I visit localhost all I see is the html.index file that I can not get rid of.
On my Windows computer I created a folder for each website that I was working on in the htdocs/myfiles folder and when I visited localhost I would see all of my folders (websites) listed there. I would like to recreate that setup on my linux machine.
I've been browsing YouTube looking for a videos on this topic, but all I get are video showing me how to install apache : (
chrism01, thanks for the links. The virtual hosting link looks like it might be a solution, but I was hoping to just find the right directory to put my files in.
I would imagine that Linux developers also have more than one website they want to work on... where are these sites usually stored? Or do they usualy configue apache virtual hosting??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.