Ubuntu Servers :: Get Apache To Point To Addresses Like "localhost" Or Outside Ip?
May 31, 2010
I am planning on installing an Apache server today. I know how to get it to point to addresses like "localhost" or my outside ip, but how do I get it to point to a URL like [URL]? (That's just an example URL)
View 4 Replies
ADVERTISEMENT
Dec 12, 2010
I have tried several places for help but I am getting no where...Here is my background.I have spent all weekend to replicate my development server back at home. I have an Apache remote server with 3 IP based virtual hosts pointing to
[URL]
Now I have been able to set up a VM on my desktop, installed the OS, the applications, the db server, apache etc. Everything is looking good so far. So right now I have,
[URL]
So when I go to 192.168.0.111, I go to [URL] so I guess apache is working aswell.What I want to do is, instead of going to [URL] I want to change it to another address such as a.me.add1How can I do this? I am looking through the virtual hosts section, I have changed server name entry etc but its not working.Can you tell me in big picture what I would need to do to set that up? My current set up doesnt really help me much once the site get the www address.tell me if Document Root of IP address 192.168.0.111 points to [URL] will it always resolve into that webaddress. That is if I enter 192.168.0.111 the browser will redirect it to [URL].
View 3 Replies
View Related
Jul 5, 2011
I am following this howto to install Apache, MySQL, and PHP5:
[URL]
I have just installed Apache and I am pointing my browser to:
http://192.168.0.100
but I am getting the error message that the server is taking too long to respond.
View 1 Replies
View Related
Jul 11, 2011
I've installed apache2 on ubuntu 10.04 and everything works fine, but when I use functions that needs to connect to Internet, it doesn't work. Is there a simple setup I've forgot? I've been searching and looking for a solution, but I'm stuck!
View 9 Replies
View Related
Mar 31, 2011
I'm doing development on a site, let's call it mysite.com. mysite.com and www.mysite.com works fine, but proxy.mysite.com and dev.mysite.com point to the LAMP stack running on my computer. Pinging mysite.com gives me:
Code:
64 bytes from server.myhost.com (64.64.0.102): icmp_req=1 ttl=47 time=47.4 ms
Whereas dev.mysite.com gives me:
Code:
64 bytes from localhost.localdomain (127.0.0.1): icmp_req=1 ttl=64 time=0.031 ms
Subdomains of any other site work fine. I am absolutely baffled. What in the world could be causing this? I haven't been messing around in /etc/hosts or anything like that.
View 3 Replies
View Related
Dec 23, 2010
if I should ask this in the server section. But since I use the desktop version of Ubuntu I will ask here. Basically my server is going on pension. Hardware is outdated and all that. Since it's main job was serving me with MySql databases with web interfaces I sommer want to shift all of that over to my desktop and run my databases on the desktop. It's only me that access it so don't see why I can't run it localhost.
My question is. The three main things I need, apache, Mysql and php, are they in the repositories in Synaptec ? If not how hard will the install and config of those three apps be on Ubuntu Desktop? (I've always used Fedora as server with everything build-in so have no experience of installing mysql, apache and php from scratch)
View 2 Replies
View Related
May 23, 2011
I would like have a password for accessing my web site which works fine. I also want for the specific site to allow access only for a specific range of ips. Right now the following config should forbid my access, as my ip is different from 200.200.200.*
View 6 Replies
View Related
Nov 28, 2010
I have the following in my httpd.conf file
Code:
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive. Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#Listen 12.34.56.78:80 Listen 80
And when I try to start the server, I get the following
Code:
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80. I did have an Apache web server up and running about 6 or 7 years ago - but seem to have lost everything
View 4 Replies
View Related
Mar 29, 2009
I have installed apache. The problem is that localhost works but not the ip for viewing my hosted sites.
How can i rectify this error?
View 5 Replies
View Related
Nov 28, 2010
I have Apache2 running on my server and can serve up pages on that box, but cannot seem to access them from other PCs on the network.
View 1 Replies
View Related
Apr 13, 2010
I'm working with Fedora and SELinux and am having a problem. I need to allow apache's http daemon to use arp (for getting some mac addresses). I have changed the type of the arp executable to httpd_sys_context_t but am still having an issue. Here is the messages log: Detailed Description:
[Code]...
View 4 Replies
View Related
Jun 28, 2011
I have installed VirtualBox on a MacBook and installed RHEL6 on a guest server ("Orion") in VirtualBox. I am trying to follow the tutorial at xenocafe on Apache Web Server Tutorial for Linux. I've checked a few other websites for port forwarding, and have used VBoxManage to set
Apache/GuestPort" 80
Apache/HostPort" 8888
Apache/Protocol" TCP
[code]...
I am able to ssh into the Virtual Box guest server using:
$ ssh -l rmt1 -p 2222 localhost
I believe this means that the port forwarding works. I am able to start and stop httpd on the guest with no warnings. I retired a problem with DocumentRoot by setting SELinus to disabled. My trouble is that: When I bring up a browser on the host and try localhost 8888 and expect to see my sample html page housed on the guest server (located under root / www), what I get is a spinning wheel.
And when I bring up a browser on the guest and try localhost 80 and expect to see the sample page I made, what I get is the well-known Apache test page. I am stuck in knowing (1) how to cause port 80 output from the guest to be interpreted by the host browser searching port 8888 (Or, Why does ssh into the guest work but http out of the guest not work), and, (2) how to arbitrarily determine the location of what the very first webpage is that will be loaded.
View 2 Replies
View Related
Oct 7, 2009
I'm running wordpress and have gone to the painstaking effort of setting up the ftp server on my 5.3 machine so it can do its own updates and download plugins. However, I've found that if I try to download anything, I get a "unable to resolve host..." error from the script. If I watch Iptraf while making the request, I see all the port 53 requests going to 127.0.0.1. Pings are too.
However, if I ssh in, I can ping and wget and whatever I want all day long and all the DNS requests to go the router (Clarkconnect 3.2 gateway machine). The web browser in the terminal works fine too. What is it about the php scripts that is causing them to misdirect pings and dns requests? I've never seen anything like it and can't find anything on the web about it either.
[Code]....
View 2 Replies
View Related
Apr 4, 2011
I want to point my apache to ip address. Before this I point it to my /var/www/spec and I want to change it to ip address. So that when I enter my ip address my script code will appear.
View 1 Replies
View Related
Dec 27, 2010
I have setup a Linux Centos with apache server on it in a home network. Everything works fine. When I access the webserver I put in the address bar the IP address of the server which is 192.168.0.150 and when hit enter, it prompts the page where I have to put login information. The login information is set to: username: admin@localhost.local password: *************
It takes long time for authentication go through and load the page eventhough I am accessing the site in a same home local area network with fast ethernet connection. How can I change the localhost.local to something else like maybe [URL] instead and if I have to change settings in other files as well?
View 5 Replies
View Related
Jan 19, 2011
I've just upgraded my laptop to Fedora 14 and installed LAMP on it for a test environment. I've followed the official instructions to install but seem to have a problem that I didn't have on F13 or Opensuse. Each time I try to access index.php on localhost I get a permission denied message and an SElinux alert. I have tried 7 different solutions on various forums and just can't view anything in a browser.
/var/www/html has been set to chmod 777
/var/www/html/index.php has also been set to chmod 777
A standard user can definitely read and write to the above files/folder. Until I commented it out the Welcome/Test page was working perfectly.
View 5 Replies
View Related
May 28, 2010
I am having an issue on my server where I can't access certain ip's erratically. These addresses could previously connect to us.I think it may be related to getting rootkitted. I know the risks in not reinstalling but we are not able to install yet at this point. I cleaned out shv4 and shv5 from the os and setup tripwire. The client can't ping the server and likewise back.From my personal computer they both respond to pings.The server is running denyhosts but that is about it in-terms of security.I can't find anyhting anywhere... No ipchains present, nothing in host.deny, subnet is 255.255.255.0.I'm really at a loss so I'm looking for some direction
I know someone is going to tell me that I have to assume all my files are compromised and i should reinstall; I did md5 checks on alot of files and there is no data on here that shouldnt get out and I check for stuff running that shouldn't be daily.The server is 10.04 server. Latest updates.Here is a list of installed packages
Code:
adduserinstall
anacroninstall
[code]...
View 4 Replies
View Related
Mar 22, 2010
Does anyone know the ubuntu update servers IP addresses. I am trying to fine tune my firewall rules and was unsure of what ip addresses to use for the update servers. I believe they are us.archive.ubuntu.com and security.ubuntu.com. However, I could be wrong.
View 3 Replies
View Related
Apr 5, 2010
I'm running a dual boot system at work. I'm connected to a few shared drives in XP, and would also like to connect to them while using Ubuntu.How do I determine the addresses of the servers I'm connected (mapped) to in XP?
View 2 Replies
View Related
Aug 5, 2010
I'm using Ubuntu 10.4 box with Apache2 web server. I have a site with several Domain Names. How do I set up tracking?
View 1 Replies
View Related
Jan 1, 2011
I want to display the associated host name with each address.
I've found the /var/lib/dhcp3/dhcpd.leases file, but it appears to have an entry for every time a lease was issued so it's hard to tell which ones are currently active.
View 3 Replies
View Related
Aug 14, 2010
I am trying to set up postfix on my ubuntu server.When I try to login to the pop accounts through telnet
Code:
user@ubuntu1:/$ telnet localhost 110
Trying ::1...
[code]....
View 3 Replies
View Related
Jun 3, 2011
For some rather odd reason, my IRC bot wont connect to the local irc server, but it will connect to IRC.FREENODE.NET, I have no idea why...
PHP Code:
<?php/** PHPIRC Class Simple IRC Bot * * @author Ferdinand E. Silva
[code]...
View 1 Replies
View Related
Dec 7, 2008
I am looking for a command which, when typed from the command line, returns the ip-addresses of the DNS nameservers that my ISP is using.I think is should be technically possible to write a program that does this, because linux installers set up /etc/resolv.conf correctly (as does knoppix). But I've been unable to find a command that does it. Is there one, and if so, what is it called?
View 14 Replies
View Related
Mar 18, 2010
Have basic LAMP setup on 9.10 box. I want to have a publicly accessible website AND I want to have phpmyadmin available. The only thing is I would rather not have the phpmyadmin interface available on the internet. I usually open a ssh port forwarded tunnel when I need to use phpmyadmin on this server. I want to add a directive to make phpmyadmin bind only on localhost. I have found the phpmyadmin config file in /etc/apache2/conf.d
phpmyadmin.conf -> ../../phpmyadmin/apache.conf
I have tried adding some LISTEN directives, but apache does not like my directives-- I am obviously not doing it right. I have looked for a bit on the internet and can't find out how to disable external access to a configured site in Apache.
View 2 Replies
View Related
Sep 6, 2010
Instead of XAMPP or LAMP, I installed a local web server to my Ubuntu 10.04. Apache and phpmyadmin works well.
I copied the files of my Joomla website to /var/www folder. When I go to administrator panel, it works. But when I type in the browser "http://localhost/[folder_name], a blank page appears and nothing else.
View 2 Replies
View Related
Oct 22, 2010
OK here's what I'm doing:
On terminal 1, I enter:
$ nc6 -vlp 5000
nc6: listening on 0.0.0.0 5000 ...
On terminal 2, I enter:
$ nc6 -v localhost 5000
nc6: ygt-asfandq (127.0.0.1) 5000 [5000] open
Now, as SOON as I make the connection on terminal 2, both netcats immediately quit back to the command prompt. The return code for both is 0.
I do not have ANYTHING in my firewall (I checked with sudo iptables -v -L)
I have attached a wireshark trace of the conversation..
View 2 Replies
View Related
Oct 26, 2010
My Firestarter logs show periodic outgoing connection attempts to IP addresses in countries such as Malaysia, China, Russian Federation etc... Fortunately, Firestarter appears to be blocking them. I suspect these are not good and want to find out exactly what process is initiating these outgoing connections.
View 6 Replies
View Related
May 11, 2010
Howcome mysql by default is only allowing connections from localhost? I want to access it remotely from another account (not root).
View 1 Replies
View Related
Jul 28, 2010
After spending what seems like an eternity trying to learn how to host a couple of webpages on my laptop for no better reason than to practice creating them without paying for a server. .for the time being, I kept getting the usual errors (stuff I have seen lots of tutorials on) and this time kept getting
"The connection was refused when attempting to contact localhost"
Just by random chance I happened to open up Chromium for one of my attempts and low and behold, I get the much awaited
Quote:
It works! This is the default web page for this server.The web server software is running but no content has been added, yet. I can even login to phpMyAdmin from Chromium. So what's going on with Firefox? Doesn't work in Seamonkey either. Using 10.04
View 7 Replies
View Related