Software :: Apache22 Displays IP Not Domain - Apache 2.2 On CentOS 5.5?
Jun 29, 2011
So first thing's first, is I'm a bit rusty when it comes back to CentOS. I've been running FreeBSD for a while, but a friend running CentOS just asked me to help him with apache. Apache is something I run and configure in my sleep, but this has really stumped me. His server [URL].. will point you to the IP address, instead of the domain name?? When you first go to the page, it will say "Please wait while we redirect you I changed that over to a <?php header("Location: ?> redirect, to better suit his server and make it look nicer. The problem is the html file with the Please wait message is still there, after I've deleted it out of /var/www/html/, and replaced it with index.php
So I dug through his configuration, and made the virtualhost for his domain, again with no avail. I really don't want to post my full config file, but if it's necessary, let me know.
I've installed qmailtoaster on CentOS. I use vqadmin for managing virtual domain. I can list the current domains on vqadmin interface. But when I choose "View Domain", enter a my domain and choose "View Domain", I receive a white page. I can't view the information about my domain. Please help me to resolve the problem. I can create a new domain and view the domain on vqadmin but I can't view the existing domains.
i am a new user of ubuntu and also new web designer. I have installed apache2 server and the network name is "localhost" by default so here is my question how can i change it to a name that i want and also how can i change the default domain name to a domain name that i have registered so that everyone can reach my website...
I have Fedora 12. I just wanted to know that for demonstrating a DNS mechanism between clients and a host, how to establish a domain ? Do I have to configure an Apache server ?
i have several sites hosted on one machine (Apache 2.2 on Debian). They are configured at /etc/apache2/sites-available/ with this configuration (part of it):
I am trying to figure this out and it seems I can't So, I have a server which hosts various domains, each domain with multiple subdomains. All websites are set up with "VirtualHost" and they all work properly.The problem I'm having is that if I enter any subdomain of the main domain, I can still reach the webpage.Is there some way of telling apache to DROP / display a forbidden message for all subdomains which are not listed in the VirtualHosts?
I have a domain, dns hosted, and apache serving up pages. this all works fine, so far. i even have a cms running. my confusion starts when i try to host a different site under a subdomain, ie. sub.mydomain.com.i have two vhosts in apache. one is mydomain.com and the directory is /var/www/mydomain.but, when i try to add another vhost like webmail.mydomain.com, and i try to put the root directory in /var/www/webmail, it doesn't work. when i try to access webmail.mydomain.com, i just get the site on mydomain.com.I feel like i am just missing something really simple here, but i have tried searching around for solutions to no avail.
I have a multiheaded setup with one X server and two displays i.e. :0.0 and :0.1. Is there a way to have one instance of an X client for example xeyes and have this displayed on both displays at the same time. I want one keyboard/mouse that controls both displays. I do not want to use Xinerama.
I am installing Big Brother on a CentOS 5.2 running the default Apache 2.2.3. When I try to access any web page I get the following error: Forbidden You don't have permission to access /bb/ on this server. Apache/2.2.3 (CentOS) Server at fmsubbnix Port 80 So far I have:
1) Set the Directory options to FollowSymLinks 2) Verified all directory and file permissions are at 755 3) Set permissions temporarily to 777 and received same error so I am assuming the issue is in a config file somewhere 4) in hhtpd.conf verified <Files ~ "^.ht"> is correct 5) verified the "default" directory is correct (/var/www/html)
I have read and tried several ideas in posts listed on the web but to no avail and am at a loss as to what to look for next..
I am trying to solve a problem where Apache stats aren't displaying correctly in Munin. I've ran through quite a bit of checks and tests regarding Munin setup, but I think my issue is related to Apache, but my skill set there is lacking.
first, system info: monitored server: CentOS 5.3 2.6.18-128.1.1.el5
i opened up my browser to surf the web and a page popped up i had never seen before.Apache 2 Test page powered by centos. Any address i put into my firefox browser won't come up and i'm stuck on this test page and,i can't locate it on my computer to remove it.How do i get rid of it and more importantly how did it get on my computer in the first place?
Can not edit domain.xml? I use virsh edit domain, change is finished, save and exit, use wq!. But the value of the recovery back I am use centos 5.5, libvirt 0.8.2, qemu 0.9.1. KVMI just want to change the guest system inside the Qemu Virtual CPU to the physical cpu information
I have Centos 5.3 on my home computer. When I was logging-in to the terminal it was like ( myname@34myhome.local$ ) now when I log-in to the terminal I get (myname@dhpdpc64$ ) I have not changed anything. It seems like my domain name has changed. Why the domain name changes automatically?
I have a centos 5 server joined to a win2003 active directory domain. It's a virtual machine, so i had to sync the date (ntpdate) because it was 12 minutes different. It worked, but not ntlm authentication is not working anymore. If i rejoin the domain i get:
net ads join -U administrator@MYDOMAIN.COM administrator@MYDOMAIN.COM's password: Failed to set password for machine account (NT_STATUS_DISK_FULL) Failed to join domain: NT_STATUS_DISK_FULL
I trying to Migrate NT4 Domain to Samba-3 following the example in: [URL] where they mention "This migration process makes use of Linux system tools (like useradd) to add the accounts that are migrated into the UNIX/Linux /etc/passwd and /etc/group databases. These entries must therefore be present, and correct options specified, in your smb.conf file, or else the migration does not work as it should. " how to specify these (with correct options) in the smb.conf file? what are the parameters?
1. I have two domains domain1.com and domain2.com on my centos server.
2. In a file in domain1.com I am writing the php function
chdir('/var/www/vhosts/domain2.com/httpdocs'); but it is not working at the same time if I am trying to change the directory to one of the subdirectory in domain1.com than it is working means chdir('/var/www/vhosts/domain1.com/httpdocs/css'); is working.
3. The problem is I cant able to change the directory from domain1.com to domain2.com. /var/www/vhosts/domain1.com/httpdocs => /var/www/vhosts/domain2.com/httpdocs is not working
Is it some permission issue or anything else ? Is it something related to chroot jail or what?
U have spent 4 days trying to configure my router thinking that it is my router that is not working but when I go to my dynamic dns or my static ip address it takes me to my admin router on the local computers.when I type httpd it says it cannot bind to port 0.0.0.0:80 i checked it is set up to listen to port 80 this is really confusing me i am beginning to think the people who built my server did not set it up properly if i go to localhost or 0.0.0.127 it goes to the apache default page fine.I have not changed anything since it wad installed except the centos 5 updates any ideas?When i login my password is root and the password is the default I have changed nothing else on the system as I still have no clue about it.Just to clarify on my router I have port 80 and port 443 set to my static ip address is this correct or should it be the eth0 Bcast ip address?Can anyone give me an idea of what i need to check? On my router I have set up port 80 and port 443 and dynamic dns and static ip address.Sorry I am totally new to linux never used it before would be nice if anyone has any ideas how i can proceed with this.
I'm running CentOS 5.4 with sendmail. My computer hostname is bob.domain.com. Whenever I would nc -v 127.0.0.1 25 into sendmail I would get bob.domain.com on the banner. Whenever I send out email the emails would be user@bob.domain.com. I wanted the email to show up as user@domain.com. So in the etc/mail/sendmail.cf file I changed the line
Code: Dj$w.hostname.com to this
Code: Djhostname.com Now when I enter sendmail I see domain.com in the banner so I know the change took place. However, when I send email using
Code: mail -s "test" xxx@xxx.com then email still goes out as user@bob.domain.com. What other changes do I need to make?
I have a question for installing centos with domain and ip address.I want to install centos 5.3 at my server which is installed redhat 9.My question is how to sonfigure domain and ip.
I already setup my samba, openLDAP as well as smb-tools but when I try to registered my winXP client into Linux Domain,there was an error "a device attached to the system is not functioning" but browsing of user folder is possible, by typing in run command \server1 then provide a username and password.I can also transfer some documents on that folder, only registering from linux domain is my problem...
I have a CentOS 5.2 server with hostname support.companyname.local It's used to run Request Tracker 3.8.1. I need to be able to send email from this machine and make it look like the email came from user@companyname.com instead of user@support.companyname.local
I have setup Ubuntu servers as LAMP machines but that's pretty much it.
I need to work on an existing CentOS server that I will see for the first time tomorrow. I am told that, as of right now, it is "just serving the internet." The goal is to set it up to be a primary domain controller by which I mean:
1) A user should be able to login to the server from any of the workstations and then see their server stored documents
2) The clients will be a mixed bag of Linux, Windows and Mac machines
I could use a push in the right direction as to what I need to do to get this all setup. I know how to setup users and home folders (I use webmin typically and I understand that there is a version for CentOS) but clearly there is more that I need to do. I am really curious as to how I would map the necessary drives on the client machines upon login and have the users have automatic access to their data regardless of the client machine they log in to.
Tutorial for setting up a domain server, dns server, ldap, mail server, firewall and proxy with centos and how can I join ubuntu clients to the domain?