Solved

Virtual web server on Linux 2.0.18

Posted on 1997-07-23
2
221 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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

772 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

12 Experts available now in Live!

Get 1:1 Help Now