LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-28-2004, 07:35 PM   #1
rjweng91
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
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
 
Old 10-28-2004, 08:33 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
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.
 
Old 10-28-2004, 08:54 PM   #3
rjweng91
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 10-29-2004, 07:48 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally posted by rjweng91
Sorry I wasn't more specific... I do have Samba set up... it just seems that linux doesn't like the Dreamweaver files...
No, you have something setup wrong. I've used Dreamweaver on Windows placing files on a Linux server using Samba with no problems. And Dreamweaver files? They're just html and other web type files. I'd suggest going over your setup for Samba, make sure permissions are ok, etc.

Quote:
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.
I don't know what postnuke was doing for ya but yeah, virtual host is still the answer. Setup apache and your httpd.conf file to include that domain to point to the correct folder to serve the files out to the world... and so on...
 
Old 10-29-2004, 09:49 AM   #5
ryedunn
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Rep: Reputation: 30
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
 
Old 10-29-2004, 03:00 PM   #6
rjweng91
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Original Poster
Rep: Reputation: 0
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?
 
Old 10-29-2004, 09:23 PM   #7
ryedunn
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Rep: Reputation: 30
Im a bit lost.. I went to the site and it looks fine.. did you want to see the files or not see them?
 
Old 10-30-2004, 10:22 AM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Re: apache

Quote:
Originally posted by rjweng91
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?
What do you have for your virtual host settings in your httpd.conf file? If you can post that here, that would be great. And if its showing files, well, that's a good sign. If you don't want the Directory Indexing turned on, it all depends on how you've set apache to handle these. Posting your httpd.conf will let us help you configure it correctly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Boot Multi Windows & Multi Linux olkar Linux - Newbie 5 10-03-2005 11:52 AM
multiboot, multi HD, multi distro install help pfschim SUSE / openSUSE 4 05-25-2005 06:28 PM
How do you change card# of multi multi-media cards. Nichole_knc Slackware 3 12-01-2004 12:49 PM
Grub with Multi-drives/Multi Redhats zuele Linux - Software 1 11-13-2003 04:59 PM
GRUB, Multi Linux/Multi Disk Boot gtnorton Linux - Software 1 03-16-2003 03:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration