multi- website on one IP
I am kind of new to linux. I am running Fedora Core 2 ( after a week of figuring how to update from core 1). My main web site is ww.hillsiderun.com (yes 2 w's)
I have a cable modem so I have to do port forwarding. because my cable company doesn't allow port 80 access. Anyways I was trying to make a sub domain with port forwarding and making a folder inside of my main servers folders. that site is ... cec.hillsiderun.com You will notice it comes up blank, but if you right click and view source you will notice that there is to be a background image. My main server the ww.hillsiderun.com I have postnuke on it... The sub-domain I want to do html.... Secondly I am using Dreamweaver on my windows machine and trying to save the files to the linux server.... is there something special I need to do because I have tried to have a index.html file in there and that comes up blank. I also have installed and tried to put a index.html file from NVU and that is the blank page you see in there now. Is there something special I need to do to my confg file... like Alias or something , or is it my path that I have my pictures to? Please help... Rjweng91 |
For your first question, simply setup a virtual host, along with the correct DNS entries.
Your second question.. setup Samba to share a network drive or share between Windows and Linux. |
Sorry I wasn't more specific... I do have Samba set up... it just seems that linux doesn't like the Dreamweaver files...
Also when I had cec.hillsiderun.com setup with postnuke I didn't need a virtual server. I just pointed to the correct directory in the port forwarding...it just seems that I took postnuke out and was trying html fiel that they will not show up. |
Quote:
Quote:
|
sorry to chime in here but you might want to verify if you are running apache or apache2. I ran into some big problems when reading apache docs but using apache2.
Anyway if you look at setting up a virtual name server, this should help you out... your config should be something like: NameVirtualHost * <VirtualHost *:8080> ServerName ww.hillsiderun.com ServerAlias hillsiderun.com DocumentRoot /etc/httpd/public_html/hillsiderun.com </VirtualHost> <VirtualHost *:8081> ServerName cec.hillsiderun.com DocumentRoot /etc/httpd/public_html/hillsiderun.com/cec.hillsiderun.com </VirtualHost> I think....... tricky has forgot more than I will ever know, but I just went though this hell myself so I thought I would put my 2 cents in. R |
apache
ok now when you go to the cec.hillsiderun.com it now shows the files in that directory....
Id there something in the config file that I would have to change, like directory browse? |
Im a bit lost.. I went to the site and it looks fine.. did you want to see the files or not see them?
|
Re: apache
Quote:
|
All times are GMT -5. The time now is 06:46 AM. |