|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
I have recently installed the BigApache 1.05 package which uses Apache 2.046. Everything is up and running, and I can access the default index.html file, but I cannot find where to put my website files. If anybody knows the path to the "localhost" folder I would really appreciate it.
Thanks Robert |
|
#2
|
|||
|
|||
|
Hey Robert,
Welcome to DevArticles! You want to put your site files into the "htdocs" folder. For better organization practices, you should create directories, for each project, within the "htdocs" directory. HTH!
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
|
#3
|
|||
|
|||
|
Frankie,
Thank you for the reply! I was able to find the htdocs folder, copy my website files and magically everything works great! About the organization thoughts, I have another question. If I want to host two websites with totally unique domain names, is that as simple as creating two directories in my htdocs folder each containing their respective index.html file? Of course I will need to purchase the two domains and have them pointed to my static ip address (NetworkSolutions) but how do I tell Apache to forward the correct domain to the correct directory? This is already so much better than paying somebody else to host my site for me. Thank you very much for your help. Robert |
|
#4
|
||||
|
||||
|
This'll require some tweaking of the httpd.conf file in your conf directory. There are probably sufficient sample entries to help you figure out the setup, and if not, you can usually find good info by browsing apache.org. Basically, you'll have to set the server up to listen for multiple domains, providing a VirtualHost block for each domain that tells the server which directory to look in for files, etc.
|
|
#5
|
|||
|
|||
|
dhouston,
Thank you for the tip. I am just finishing up getting the DNS working correctly, then I will take a look at the httpd.conf file to see what I need to change. I assume that this has something to do with the HTTP header info? I will post back when the DNS is operational and I have read a little more on the Apache website. Thank you for the help. Robert |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Server Configuration > Where do I publish HTML files to in Apache 2.046? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|