We currently have a web server that is running apache on cent 5.2. We are upgrading our student info system so that it allows web access and the vendor (powerschool) is stating that this has to be a registered domain or a sub domain and only runs on Windows Server. My question is can you tell apache to point a subdomain to a diiferent IP address. For example, Our domain is currently amelia.k12.va.us. If someone goes to powerschool.amelia.k12.va.us it points to another IP other than itself? I have no experience with sub-domains so any input would be greatly appreciated. Thanks
on 2-18-2009 11:40 AM Bo Lynch spake the following:
We currently have a web server that is running apache on cent 5.2. We are upgrading our student info system so that it allows web access and the vendor (powerschool) is stating that this has to be a registered domain or a sub domain and only runs on Windows Server. My question is can you tell apache to point a subdomain to a diiferent IP address. For example, Our domain is currently amelia.k12.va.us. If someone goes to powerschool.amelia.k12.va.us it points to another IP other than itself? I have no experience with sub-domains so any input would be greatly appreciated. Thanks
This is easily done with DNS or redirects. If you control your DNS, you just need an "A" record pointing to powerschool.amelia.k12.va.us with an ip address reachable by the target audience (internal or external). With redirects you could do it in apache, but you still need the servers ip address.
Bo Lynch wrote:
We currently have a web server that is running apache on cent 5.2. We are upgrading our student info system so that it allows web access and the vendor (powerschool) is stating that this has to be a registered domain or a sub domain and only runs on Windows Server. My question is can you tell apache to point a subdomain to a diiferent IP address. For example, Our domain is currently amelia.k12.va.us. If someone goes to powerschool.amelia.k12.va.us it points to another IP other than itself? I have no experience with sub-domains so any input would be greatly appreciated. Thanks
You do not have to do this in Apache. The thing you need is a change in the DNS. The DNS is a system that convert names (Like powerschool.amelia.k12.va.us) in ip addresses.
To change the DNS you need to contact the person / company that controls the DNS of your domain.
The windows server needs to listen to the domain powerschool.amelia.k12.va.us though.
Best regards,
Put in a in a record pointing towards your apache server, I would strongly recommend to configure a virtual domain on your apache server also so apache also knows what is being called.
Per
On 2/18/09 8:55 PM, "Joost Waversveld" joost@waversveld.nl wrote:
To change the DNS you need to contact the person / company that controls
Per Qvindesland wrote:
Put in a in a record pointing towards your apache server, I would strongly recommend to configure a virtual domain on your apache server also so apache also knows what is being called.
Per
On 2/18/09 8:55 PM, "Joost Waversveld" joost@waversveld.nl wrote:
To change the DNS you need to contact the person / company that controls
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
The OP mentioned the new sub-domain needs to be on a Windows server, so Apache does not have anything to do with this if you solve it by DNS.
Best regards,
Joost Waversveld wrote:
Bo Lynch wrote:
We currently have a web server that is running apache on cent 5.2. We are upgrading our student info system so that it allows web access and the vendor (powerschool) is stating that this has to be a registered domain or a sub domain and only runs on Windows Server. My question is can you tell apache to point a subdomain to a diiferent IP address. For example, Our domain is currently amelia.k12.va.us. If someone goes to powerschool.amelia.k12.va.us it points to another IP other than itself? I have no experience with sub-domains so any input would be greatly appreciated. Thanks
You do not have to do this in Apache. The thing you need is a change in the DNS. The DNS is a system that convert names (Like powerschool.amelia.k12.va.us) in ip addresses.
To change the DNS you need to contact the person / company that controls the DNS of your domain.
who appears to be...
$ host -t NS amelia.k12.va.us amelia.k12.va.us name server ns1-auth.sprintlink.net. amelia.k12.va.us name server ns2-auth.sprintlink.net. amelia.k12.va.us name server ns3-auth.sprintlink.net. amelia.k12.va.us name server dns-netva.bev.net.
for whatever thats worth (about US$0.02)