Solved

setting redirects through apache using webmin/cpanel

Posted on 2010-08-23
2
700 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 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

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

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

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.
Suggested Courses

628 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