?
Solved

setting redirects through apache using webmin/cpanel

Posted on 2010-08-23
2
Medium Priority
?
702 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 2000 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

719 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