Solved

Virtual web server on Linux 2.0.18

Posted on 1997-07-23
2
222 Views
Last Modified: 2010-03-17
I want to install a virtual server on my own Linux box.
I've already configured all the DNS and the HTTPD.
From the Linux box, I'm able to ping my new virtual server by the name and the IP adress but from the WEB it's impossible.

Someone told me to add a few lines in my /etc/rc.d/rc.local, here are the lines:

insmod -o dummy0 /lib/modules/2.0.18/net/dummy.o
ifconfig dummy0 209.29.68.3 up
route add 209.29.68.3 add dummy0
arp -s 209.29.68.3 `cat /etc/ethers` pub

The file /etc/ethers contain the MAC adress of my ethernet board already installed in my Linux box.

After that I try to look the ifconfig result and it told my that the MAC adress for dummy0 was 00:00:00:00:00:00

What could be my problem ?????

Thanks
0
Comment
Question by:christg
2 Comments
 
LVL 2

Accepted Solution

by:
cedric earned 200 total points
ID: 1585723
Hello,
if you have configured your DNS, i can suggest you another thing to try, with much less work, here is my /var/named/pz/master.dns zone file :

@               IN      SOA     bbs.master.fr. root.master.fr. (
                                1       ; Serial
                                28800   ; Refresh
                                7200    ; Retry
                                604800  ; Expire
                                86400)  ; Minimum TTL

@              IN       NS      bbs.master.fr.

localhost      IN        A      127.0.0.1
bbs            IN        A      192.168.0.2
uc1            IN        A      192.168.0.1
www            IN    CNAME      bbs
ftp            IN    CNAME      bbs

In my uc1 machine /etc/resolv.conf
search master.fr
domain master.fr
nameserver 192.168.0.2


And now, from my "uc1" machine, when i enter www.master.fr netscape jump to my web server. No need to install any virtual web or fake IP adress etc.. just use CNAME :^)

Byby.
0
 

Author Comment

by:christg
ID: 1585724
I've tryied your answer but it's not working very well. So instead i reconfigured my DNS to tell to my virtual web server to use the same IP adress of my Linux Box.

Thanks.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Ubuntu server 12.04 creating broadcast on network 6 83
Ubuntu VNC server rejects access by client 7 143
linux 2 90
IPA client Config problems 2 165
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now