Virtual Domains - a guide
Unlike web servers, there are two basic types of virtual domains for a news server:
- Real IP based virtual domains, where you have allocated an IP address to each virtual domain, the server can use this information to figure out which domain it should 'pretend' to be.
- Fake ones, where you only use a single IP address, then the user must login as 'email@example.com' so the server can figure out which domain they belong to.
SurgeNews supports both of these methods or even combinations of them and any number of virtual domains.
How to create a virtual domain
Simply click on 'domains' 'add' in the web admin tool. Then fill out the details.
Adding IP numbers to your operating system
It is fairly easy to add multiple IP numbers for a single machine, up to 255 per interface is fairly straightforward. 1024 is usually possible with minor patches. The exact method varies. On NT, just specify extra numbers in the networking control panel. For UNIX, see http://www.nethelp.no/net/vif/readme.html for more information.
As an example, on Linux you would do the following:
su - root
ifconfig eth0:2 9188.8.131.52 up
to add a second IP number 9184.108.40.206. The number :2 can be anything between :1 and :255