Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
from where you can access? machin in local network? because that machin may have hosts record of your server name and ip address and on isp is not configured pointers to your server.
OK. There may be N number of factors. First you have to say when you try to open page what kind of error you receive, what is written in log files. is your virtual host path pointing to index file where your pages are located to open (/var/www/html).
[root@simha1 ~]# tail -f /var/log/httpd/simha.blr.asicdesigners.com-error_log
[Mon Jun 29 09:12:47 2015] [error] [client 10.193.190.111] File does not exist: /var/www/html/favicon.ico
[Mon Jun 29 09:12:47 2015] [error] [client 10.193.190.111] File does not exist: /var/www/html/favicon.ico
Page error in browser
The connection has timed out
The server at simha.blr.asicdesigners.com is taking too long to respond.
The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer's network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
Sorry for late reply. how your server connects to internet? simha1.blr.asicdesigners.com this is name of your server and from local network you can access your web server but when you type http://simha.blr.asicdesigners.com to open your site that site must point to your public ip address and if you server is behind nat or firewall you have to redirect your public ip with 80 port to 10.193.185.76:80.
Or I don't understand something? this (simha1.blr.asicdesigners.com) is server's name or sub domain of (blr.asicdesigners.com)?
Our Apache server is for local testing. So we dont require public IP. simha1.blr.asicdesigners.com is machine name (Apache server). When i access simha.blr.asicdesigners.com from web browser It has to display contents under /var/www/html. But its not happening..My requirement is virtual host setup for Apache. there is no firewall blocking since its in our local Lan and also I can access simha1.blr.asicdesigners.com. blr.asicdesigners.com is just a OU in active directory and for me any domain names is fine say www.example.com.
ok than if you want to open your page from local network you must write record in dns forward zone for simha.blr.asicdesigners.com. your virtual host config looks normal if it is pointing correct path. but disabling selinux and firewall is not solution. it is not hard to make correct labling and set correct boolean for http server and also iptables.
simha1.blr.asicdesigners.com IP is 10.193.1.9 shall i map to simha.blr.asicdesigners.com to different IP say 10.193.1.10?
I am sorry but dont understand that or simply answer yes, why not.
why you must map different ip? if you map that different ip dns will resolve that link to different ip addres and if on that different ip addres will not be running your http server than your site will not open. you can change server's ip address. you can also make virtual ip address on your web server so your server will have 2 ip addresses or how many virtual ips you want to configure. than you can create virtual hosts and your dns server can resolve different names to different ip addresses hosted on your server and you can assign them to different virtual hosts. this: simha.asicdesigners.com is active directory domain or whst is it?
and after all write down items what are you doing or what you want to do.
This is testing for redhat cluster. So i have mapped to simha.blr.asicdesigners.com to 10.193.1.10. Please share me the configuration steps or virtual ip address for web server
I want setup like one IP different virtual names example 10.193.1.9 is the IP I want access web server using example1.com and example2.com using only 1 IP. Could Please help me on this
example1.com and example2.com has same content or it is just 2 different names pointing to same site? if so, just configure dns to point both names to your ip address. if you write details not just result you want it will be better
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.