| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
Setting up BIND with ports?
|
Original Message
|
Name: djx01dlob
Date: June 14, 2005 at 23:19:26 Pacific
Subject: Setting up BIND with ports?OS: Linux Fedora 3CPU/Ram: 512MB's |
Comment: Hi, I run a web server, and it also runs dns, witch is not yet live with my real domain, but still testing localy. I have succesfully setup up fastforums.co.uk and www.fastforums.co.uk using a master zone and 2 adress to point to 10.0.0.10 (SERVER IP) and if i set teh secondry dns to 10.0.0.10 foir eveyr computer on the network it works. I have several websites though, and ik use virtual hosts, so everyones site is on a different port, but if i try to add an adress with an ip with a port webmin sais its an invalid ip. How can i set up an adress (something.fastforums.co.uk) to be 10.0.0.10:81/82/83/84 and so on. THanks for any help Darren Thanks,
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: jimminy
Date: June 17, 2005 at 11:50:49 Pacific
|
Reply: (edit)Short answer is, you can't. Anyone connecting to your sites would need to manually specify the port in their URL, like so: http://website1.fastforums.co.uk:81 That being said, you don't need to host each site on a different port. That kind of defeats the purpose of virtual hosting. You can have a practically unlimited number of virtual servers on the same IP address and port. That would be the preferred way to set up your server, rather than trying to do what you're doing with DNS.
Report Offensive Follow Up For Removal
|
|
Response Number 3
|
Name: jimminy
Date: June 17, 2005 at 14:56:39 Pacific
|
Reply: (edit)That depends on which web server software you are using. I'm guesssing it's Apache, right? Have a look at this. You should also read through the comments in your httpd.conf file for a more concise - but less informative - description of name-based virtual hosts.
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Linux Forum Home