Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> apache, trying to host sub domains
post Nov 6 2006, 01:56 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 2
Joined: 6-November 06
Member No.: 7,679


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.
Go to the top of the page
+Quote Post
C The Soup
post Nov 20 2006, 08:47 PM
Post #2

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 20-November 06
Member No.: 7,851

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?


Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 18th March 2018 - 06:36 AM