Help - Search - Members - Calendar
Full Version: apache
Linuxhelp > Support > Technical Support

I am new to Linux / Apache and am having problems configuring my apache server. Thi s is the problem:

I have my own domain eg and my own ip address eg and I want to setup other sub domains
eg I also need to point this subdomain at a second index.html file for the new sub domain just by using Am I right in calling this a subdomain? or a virtual domain?. I have also included a copy of the virtual domain section of my httpd.conf file. Any help wouyld be greatly appreciated!

<VirtualHost *:80>
# ServerAdmin
DocumentRoot /var/www/html/fredbloggs/index.html
ServerName fredbloggs/
# ErrorLog logs/
# CustomLog logs/ common

when I point my browser at it cannot find the index.html page.
C The Soup
QUOTE (saco @ Nov 6 2006, 01:56 PM) *
ServerName fredbloggs/

At first glance this SHOULD read:


Looks like two problems:

1. A Typo between fredbloggs and mydomain. Change the '/' to a '.'

2. www is also a subdomain of fredbloggs. So if you really want to go to you'll need to add the 'www.'. If you want it to be , don't add the www.

Make sense?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.