Networking Forums

Networking Forums > Computer Networking > Linux Networking > Problems creating domain for intranet

Reply
Thread Tools Display Modes

Problems creating domain for intranet

 
 
linux_learner
Guest
Posts: n/a

 
      03-26-2007, 09:41 PM
I am new to linux and trying to setup apache server. i was succesful
in configuring apache and the apche server is running.

I am able to acces html pages through browser using http://localhost.


What i want now is to create diffrent domain names which can be used
by different person to put there webpages say for example :


hrd.john.net
sls.mike.net


each having his own space limit.


i read in some help files that i have to create virtual ips for that.


i have created virtual ips for my ethernet card.

and i am able to ping those ips.


then i created namebased domain name for each ip. and have assinged
them folders.


but i am unable to access webpages put in those folders using these
domain names or even ip.


can somebody guide me what i am doing wrong.

do i have to configure dns for that ? how do i do that ?


thnx for your time and help

 
Reply With Quote
 
 
 
 
Kalyan Manchikanti
Guest
Posts: n/a

 
      03-27-2007, 04:03 AM
On Mar 26, 4:41 pm, "linux_learner" <neha.sw...@gmail.com> wrote:
> I am new to linux and trying to setup apache server. i was succesful
> in configuring apache and the apche server is running.
>
> I am able to acces html pages through browser usinghttp://localhost.
>
> What i want now is to create diffrent domain names which can be used
> by different person to put there webpages say for example :
>
> hrd.john.net
> sls.mike.net
>
> each having his own space limit.
>
> i read in some help files that i have to create virtual ips for that.
>
> i have created virtual ips for my ethernet card.
>
> and i am able to ping those ips.
>
> then i created namebased domain name for each ip. and have assinged
> them folders.
>
> but i am unable to access webpages put in those folders using these
> domain names or even ip.
>
> can somebody guide me what i am doing wrong.
>
> do i have to configure dns for that ? how do i do that ?
>
> thnx for your time and help


You are almost there..

1. If you want to use ip based virtual host read
http://httpd.apache.org/docs/2.0/vhosts/ip-based.html . Once you've
setup these directives in your config file, make sure each of those
names resolve on your server and also the client from where you are
going to access the webpages..

for example you should be able to resolve hrd.john.net to a ip address
( getent hosts hrd.john.net)..For this you can start with an entry in
the /etc/hosts files first and then go on to setup dns to serve the
rest of your intranet

2. Check online for linux dns and you'll find a lot of good articles
for a very basic setup.All your DNS server will be serving is your own
intranet and will query the root servers for any external queries..


 
Reply With Quote
 
Robert Harris
Guest
Posts: n/a

 
      03-27-2007, 06:47 AM
linux_learner wrote:
> I am new to linux and trying to setup apache server. i was succesful
> in configuring apache and the apche server is running.
>
> I am able to acces html pages through browser using http://localhost.
>
>
> What i want now is to create diffrent domain names which can be used
> by different person to put there webpages say for example :
>
>
> hrd.john.net
> sls.mike.net
>
>
> each having his own space limit.
>
>
> i read in some help files that i have to create virtual ips for that.


You don't need different IP addresses. Read the apache documentation,
specifically about NameVirtualHost and VirtualHost.

Don't mess with domain names. Just use one that works locally.

Robert

>
> [snip]
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a Virtual Domain Frank J. Reashore Windows Networking 9 11-14-2005 03:29 PM
Creating domain local group in Server 2003???? Gilbert d Windows Networking 1 09-18-2005 03:47 PM
need help for creating a new user in the new domain controller which is also an exchanger server installed basim alvi Windows Networking 0 02-16-2005 07:16 AM
? on creating a domain spadger Windows Networking 3 09-06-2004 02:38 PM
Creating a domain Sam Windows Networking 5 06-02-2004 02:24 AM



1 2 3 4 5 6 7 8 9 10 11