Red Hat / Fedora :: VirtualBox Apache Webserver; Cannot Localhost 8888

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


ADVERTISEMENT

General :: Centos With Apache Webserver - Change The Localhost.local?

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

Fedora Servers :: Apache Webserver - Can't Paste File / Make It Possible?

Aug 4, 2009

I've tried to copy my files from Xamp httdocs in windows to /var/www/html,
but I can't paste the file, what should I do so I can paste the files ?
I have logged in as a root..

View 2 Replies View Related

Fedora Networking :: Apache Localhost Works But Not The Ip?

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

Fedora :: Apache Install - Access Index.php On Localhost - Permission Denied

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

OpenSUSE :: Virtualbox Where Host Can See Webserver From Guest And Reach Internet?

Sep 21, 2010

I have set up my guest OS in VirtualBox so that it has a static ip and is using a bridged adapter. As a result, I can see the webserver that's hosted in guest from my host OS's web browser. However, for some reason my current setup does not allow my guest to reach the internet. What settings do I need to enable both?

View 1 Replies View Related

OpenSUSE Network :: Configure A Webserver In Apache 11.3?

Mar 5, 2011

I am running 11.3 64bit. I need to set up a simple web server, and I was trying to follow this tutorial to do it HowTo: Configure a Linux Apache Web Server on Suse/openSUSE for SSI, Includes, CGI, Common Gateway Interface, AddHandler, ExecCGI, AllowOverride, htaccess, DocumentRoot The web server is running but this part could not be applied and I need to change the ownership. it seems the command lampserver does not exist.

[Code]...

View 8 Replies View Related

Debian :: Webserver Setup With Apache Worker And PHP?

May 26, 2011

I need to setup a web server with apache (worker) and php. What is the cleanest way to this with Debian Squeeze?

View 1 Replies View Related

Debian Configuration :: Apache - Cannot Access Webserver From Home It's Available Only Within Local Network

Aug 21, 2010

I have installed apache php and mysql on my pc during debian installation... some of my friends complain they cannot access my webserver from their home and it's available only within my local network... Please help regarding this...

View 6 Replies View Related

Server :: Send Files From A Unix Using Http / Curl To A Webserver Running Apache

Jun 9, 2010

I'm trying to send files from a Unix server using http/curl to a Linux webserver running Apache. I get the following PUT error message when and the file does not send:

<title>405 Method Not Allowed</title>
</head><body>
<h1>Method Not Allowed</h1>
<p>The requested method PUT is not allowed for the URL

View 2 Replies View Related

Ubuntu :: Can't Run MySql Localhost And Apache

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

Server :: Apache Serves On Localhost But Not With Network

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

CentOS 5 Networking :: DNS Requests Go To Localhost When Made By Apache / Php

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

Ubuntu Servers :: Apache Taking Too Long To Respond On Localhost

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

Ubuntu Servers :: Apache From Localhost Can't Reach Internet / Resolve This?

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

Server :: Accessing Internal Webserver From Public Webserver

Dec 18, 2009

Ok let's say I have Apache Webservers on 2 different machines within my network, I have http://outterABC.com setup at dyndns.org to point to my modem at home, and my router forwards Port 80 to the ServerA Machine (i.e. 192.168.0.3). I can access my webpage I setup for the Server A Machine.

But what I want to try and do is somehow access my ServerB machine's website that is on my same network. I tried something like this http://ServerB.outterABC.com and the apache page came up with something like the page wasn't available. I want to access the content of the ServerB website, but because I have only one router, i can only forward Port 80 site traffic to my ServerA machine's website. I'm sure it's a different syntax I should use but i'm just not sure what I should enter to bring up the apache root web page for the Server B website via http://outterABC.com

I tried setting up DNS A records on ServerA, but I don't think it will work with what i'm trying to do above.

View 1 Replies View Related

Ubuntu :: VirtualBox And Apache ?

Feb 9, 2010

I have Ubuntu as my main OS, and virtualbox running Windows7 as a guest. I ahve just install xampp, but when i go to run apache2 it will not startup ... I am only wanting to use and access apache on the guest OS, as i use the guest OS for development ...

View 2 Replies View Related

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 View Related

Fedora :: Webserver After Update To F13?

Aug 26, 2010

My installation is Fedora 11 with Apache 2.2.15, PHP 5.2.13, mysql 5.1.47 an joomla 1.0.13.When I upgrade to Fedora 13 with preupgrade all seem to be ok, but when I open my website the main site is showing. I can see all the menu but when I open an article there is no text. I log on to joomla and edit the contents and I can see all text. Can anyone give a tip of how to solve this?

View 7 Replies View Related

Fedora Hardware :: Install A 64 Bit - 14 - Webserver With 8 CPU's ?

May 24, 2011

I want to install a 64 bit Fedora (14) webserver with 8 CPU's. I am not sure if 8 CPU's are supported in Fedora 14? Do I need to configure something first or will Fedora just install nicely and use all of the installed CPU's?

View 2 Replies View Related

Fedora Servers :: Tar Backup Of Webserver On FC10?

Jan 27, 2009

I want to backup my apache website using tar. I want to make sure all the permissions and such stay the same so that if I restore a website, it's ready to go exactly as it had been.I am using the following command and would like to know if there is anything else I should neeed to do?

tar --xattrs cvzf backup.tgz /path-to-webserver-files

Now my other question is since tar doesn't store absolute paths, when I run the restore I have to be in the root directory? In another words if I run the command in a user directory will tar do something retarded like encode the paths as ../path-to-webserver or will it just be path-to-webserver so that when I run the restore from the / folder it will automatically go into the right place?

View 4 Replies View Related

Fedora X86/64bit :: F11 Webserver Has Stopped Booting?

Jun 5, 2010

Last night I couldn't access my webserver, so I ran downstairs and turned on the monitor, only to find a "GRUB" prompt on the screen. I don't really know much about grub, but it didn't seem to accept any input anyway, so I rebooted, and after the server went through all its hardware checks, the "GRUB" prompt reappeared, still unresponsive to any input.

Next I booted with the F11 DVD and selected "Rescue Mode" from the menu. That looked hopeful. I was able to mount my filesystem, but I have no idea what I'm looking for or how to fix it. The manual hasn't been too helpful, and I haven't found any "how to guides" that address this kind of thing.

How does a solid reliable system like this just stop working? How can I get it back on its feet, and is there anything I can do to prevent whatever happened from happening again? Am I doing anything wrong?

This server has been running nonstop and trouble-free for about four years now. I upgraded from F10 to F11 without incident. I'm running Apache httpd, Tomcat (through httpd via ajp13), and sshd (only accessible from the local network). I update everything with yum on a weekly basis. The server is on a private network with port 80 NATted through the cable modem and a wireless router. The wireless network is secured with WPA2 Personal.

I was just about to upgrade to F13 before this happened, and I'm now wondering if I should do a clean install and start over, or if installing F13 as an upgrade will fix whatever is wrong with the system. I've always felt you had to get everything in working order before you even think of upgrading, but I don't know if that applies to Linux. Will I just end up with a F13 system that won't boot?

View 6 Replies View Related

Fedora Networking :: Mini Webserver - Internet Not Working

May 30, 2010

Long term Fedora user, I have recently decided to set up a small shuttle computer as a media centre (using mythTV), data store/NAS (so all my data is centralized), mini web server, etc. After installing I had the fun of trying to get my audio working correctly (which I did eventually .. after finding out I unplugged the audio after the second reboot and solved it after somewhere). After this, I got internet video searching working through mythTV using adobe Flash. I then went to bed only to find the internet not working (can't telnet, can't traceroute, can't anything). This is both as the mythtv user I have set up and as root.

The setup I have is:
PC -> router -> interweb
192.168.1.7 -> 192.168.1.1 -> interweb

I also have a laptop (F12) which is on 192.168.1.5.
The laptop has access to the internet just fine (no problem at router / interweb).
I have the only access to the router and disabled any ISP access (no changes in router).
I have the only access to the PC (no changes in PC).
I have set SElinux to permissive (no selinux issues).
I have temporarily disabled iptables on the PC (not firewall issue).

So, I decided to look at the differences between my two machines on the network. Initially the PC was missing the route:
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
I changed the services on startup so thet 'NetworkManager' was off, but 'network' started (exactly like my laptop). I turned off avahi-daemon, and any other network sort of daemon which doesn't match my laptop (which I have also customized).

I then set my eth0 config file to this:
Code:
# nVidia Corporation MCP77 Ethernet
DEVICE=eth0
HWADDR=00:30:1B:47:C4:FF
ONBOOT=yes
BOOTPROTO=none
TYPE=Ethernet
DNS1=192.168.1.1
USERCTL=yes
IPV6INIT=no
# DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
# NAME="System eth0"
# UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
IPADDR=192.168.1.7
NETMASK=255.255.255.0
NM_CONTROLLED=yes
GATEWAY=192.168.1.1
MTU=1432
# PREFIX=24

Commented out any lines which I didn't recognize. So, right now netstat -rn returns:
Code:
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

/etc/sysconfig/network:
Code:
NETWORKING=yes
HOSTNAME=sophie
And to me everything looks OK.

I even have inter-communication working fine (I can SSH between the two servers no problems - 192.168.1.7 <-> 192.168.1.5). I can do DNS queries from both just fine (nslookup google.com returns fine). I just can't get any information back from the net. Would it be work me doing a tcpdump or wireshark dump etc ('tcpdump > file' would be easier for me)?

View 2 Replies View Related

Fedora :: Creating A Script To Upload Files To Webserver?

Jun 25, 2010

How would I go about creating a script to upload files to my webserver? I want it to only upload files that have been modified on the current date. So if I make changes to a file or touch a file, I run the shell (or perl) script to upload those files. This is what I have so far:

Code:

#/bin/bash
FTPU="username" # ftp login name
FTPP="password" # ftp password

[code]....

View 1 Replies View Related

Fedora Networking :: View Local Webserver From Xp Clients By Not Using Ip?

Jul 26, 2010

I'm some sort of creating an Internal webserver or Intranet for short locally. My local webserver ip address is 192.168.0.1 and when im trying to view this on my xp clients i will type it in the url 192.168.0.1. What im trying to do is view my webserver instead of typing ipaddress I'll type hmij.edu.ph for example and trying to resolve it locally through local dns resolution.. so every time i type for example. my webserver name hmij.edu.ph i want it to redirect it to my local webserver w/out going to the internet first.. I already setup dnsmasq for dhcp and dnsclient resolution. is there any better way on how i can achieved this?

View 5 Replies View Related

Red Hat / Fedora :: Setting Up Name Based Virtual Hosting On Webserver?

Jul 9, 2010

I am having trouble setting up name based virtual hosting on my Linux Webserver. I have two websites: I need the lowcostchemicals site to use a SSL certificate which I have already created and added to a folder [URL] The lowcostchemicals site needs to go into the folder:[URL] The [URL] site needs to go into the folder [URL] I have tried to set up the virtual hosts but all of the sites go to the root folder: var/www/html/

View 1 Replies View Related

Fedora Security :: Setting Up A Webserver And SElinux Keeps Stopping Httpd / Appache And Making It Fail

Jul 12, 2010

I am setting up a web server and SElinux keeps stopping httpd/appache and making it fail. Everything works fine when SElinux is set to permisive, so I know it is SElinux causing the problem. I have all the apache/httpd items allowed in the SElinux bool and even added the line the troubleshooter told me to add but the problem still persists. Here is what SElinux puts out:

[Code].....

several times and it does nothing. I have all the permissions set to Apache as owner and group and allow execution on all the files.

View 1 Replies View Related

Red Hat / Fedora :: Cannot Ssh To Localhost?

May 28, 2010

Strange problem: I can ssh in from a different machine, and I can ssh out to a different machine, but I can't ssh to localhost. I get a connection timeout.

Code: # ssh -vv localhost
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data /etc/ssh/ssh_config

[code]....

View 2 Replies View Related

General :: /localhost Recursion/cache/iptables - Allow Localhost Recursion But Deny Recursion To External Clients?

Mar 8, 2011

I am a newbie in Linux. I have Fedora 13 OS 32 bits. I am working with PowerDNs and Poweradmin. How can I configure this with PowerDNS?

1. Allow localhost recursion but deny recursion to external clients. Is there a tutorial for that?

2. Set up cache nameserver for localhost (like caching-nameserver in Bind).
Is there a tutorial for that?

3. My Master Server with PowerDNS is working well from localhost but external clients cannot access it.

I have iptables with these rules:

[Code]....

View 1 Replies View Related

Fedora :: Run Any Pgms On Localhost In Mozilla?

Dec 4, 2009

i have to run some html, perl, php programs on my fedora.. but itseems i have a localhost problem .. not abe to run any pgms on localhost in Mozilla..? how do i resolve this? (i run usually as [URL] usually in fedora 6 or previous versions this works .. but m not able to figure out how to do in newer versions ..

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved