Solved

setting redirects through apache using webmin/cpanel

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

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

Suggested Solutions

Title # Comments Views Activity
How to get maximum transfer speed over LAN 4 103
Run DOS2UNIX and then execute the command 21 85
linux - yum package installation issue 2 53
Check for Linux process in script 7 45
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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…
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…

809 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