Solved

setting redirects through apache using webmin/cpanel

Posted on 2010-08-23
2
688 Views
Last Modified: 2013-12-16
Hi experts!

Please try to help me with changing settings on my dedicated server, so it can serve multiple websites.

So far there is one domain being used on the server and I have no Idea what to do to make it serve others.

My machine is running on Linux Centos 5 I am using apache webserver and webmin

Thanks!!!!
0
Comment
Question by:vidda22
2 Comments
 

Author Comment

by:vidda22
ID: 33507077
If it helps this server apparently has 3 IP addresses available (whatever it means)
and server support emailed me this as a solution:

"I'm fairly certain you can use your servers primary IP for the Host record, or one of the extra IP's if you're not using them for nameservers, as long as they are configured in your nic controller set up as virtual addresses.
You can have multiple domain names linked to your servers primary IP, by setting redirects through apache using webmin/cpanel etc."
0
 
LVL 26

Accepted Solution

by:
arober11 earned 500 total points
ID: 33512115
Hi, first you'll be wanting to register the other Domain names, either as CNAME (aliases) entries on your Primary IP address, or alternatively have the names associated (A-Record) with the other PUBLIC IP's you have for your host.

Once the alternate hosts are registerd you'll want to create a few new Virtual Hosts, see: http://doxfer.webmin.com/Webmin/ApacheWebserver

If you've gone for CNAME entries, go for "Name Based Virtual Hosts", else if you've gone for the IP route, IP based Virtual hosts.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Parse DNS log 3 36
BASH script to modify crontab? 3 23
Anti-virus for Linux Server 15 87
Mysql Crashing Intermittently 16 49
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 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

10 Experts available now in Live!

Get 1:1 Help Now