Ubuntu Servers :: How To Connect Apache To World Wide Web
Oct 20, 2010
I have installed LAMP Server and I'm using it but now I want to connect it to the Internet. I haven't static IP but it isn't problem for me to change my address when I reset my router. I have already forwarded a port(81) and inserted `listen 81` and a public site that may use it but when I type my IP address it gets Time Out Error. When I set Listen address and VirtualHost to my public ip address it got this error while starting:
`(99)Cannot assign requested address: make_sock: could not bind to address 109.110.170.200:81`.
View 6 Replies
ADVERTISEMENT
May 22, 2010
Set Up:
1. Ubuntu 10.04 x64 on Acer Aspire NoteBook.
2. LAMP installed
3. Using an ADSL modem to connect to internet, make is "Nokia Siemens Residential Router 1600"
4. Modem LAN settings are as shown in the attachment picture.
5. So mostly my laptop is assigned the ip ranging from 10.0.0.2 to 10.0.0.10 as the router use NAT.
6. http://localhost, 127.0.0.1, 10.0.0.2 or whatever my ip is, work fine to see my default Apache homepage in locally connected devices.
7. The IP which I find from [URL] should connect to my Apache homepage but instead it connects to my Router Interface/Configure panel as shown in image attached.
What I want:
1. My Apache home page accessible to outside world via my dynamic ip.
View 9 Replies
View Related
Mar 11, 2010
I can't seem to set this older server right to deny outside access while I build a website on it. What I am trying to accomplish is deny anyone outside of my network access to the website, but replace the 403 error with a temp page letting them know it is coming soon. I have googled for hours and everything I have tried just denies me as well. Seems to be all or nothing.
My last attempt was:
Code:
<VirtualHost *:80>
ServerName www.mydomain.com
ServerAlias mydomain.com
ServerAdmin me@mydomain.com
DocumentRoot /home/me/www/site
ErrorDocument 403 /temp.htm
<Directory />
Options FollowSymLinks -Indexes Multiviews
AllowOverride None
Order Deny,Allow
Allow from 192.168.0.*
Deny from all
</Directory>
</VirtualHost>
View 11 Replies
View Related
Jan 18, 2011
I've set up a server running Ubuntu 10.10 (desktop) with apache. Problem is: When I try to configure multiple virtual hosts I can only access the first one. I'm sure that I'm missing something basic in my setup, but I cannot seem to figure out what.
What I want is simply two virtual hosts, one only available on the LAN where I can test my php files and one "live" available from the outside.
Heres what I've done:
Installed Apache2.2
Copy /etc/apache2/sites-available/default -> /etc/apache2/sites-available/dev
Modified "dev" config DocumentRoot and Document to point to /var/www/dev
Modified "dev" config VirtualHost to <VirtualHost *:1337> (port change right?)
Modified "default" config DocumentRoot and Document to point to /var/www/live
[Code].....
Live works fine, but dev cannot connect (as if there is no server there).
View 2 Replies
View Related
Aug 12, 2009
I installed FC10, and configured everything to work with my static IP address [URL]. As far as email goes everything works except for the php script on my website. This script worked fine on my previous install, and it appears to actually submit the email as shown in the maillog:
Aug 12 14:21:02 myhome postfix/pickup[27581]: 37406BFDD9: uid=48 from=<apache>
Aug 12 14:21:02 myhome postfix/cleanup[27783]: 37406BFDD9: message-id=<20090812192102.37406BFDD9@www.myhome.com>
[code]....
I also created the following php script to test
<?
(mail ("test@myhome","Test message","this is a test"))
?>
And I was able to send successfully with this script with the only difference being it was sent by root rather than apache. This leads me to believe it's some sort of rights issue with the apache user. I wouldn't be surprised is SELinux was behind it all. I spent days and days after installing wordpress trying to get it to connect to mysql, and that turned out to be a SELinux issue.
View 5 Replies
View Related
Dec 21, 2010
one is whats the best way to connect to my home pc from another pc out there in the world? be on a windows or linux machine and remote into my home pc. Im using ubuntu 10.10. the other question is, i got a big family who aren't computer savvy at all. Is there a way to remotely assist them if they are on windows or mac. im looking for something similar to the windows remote assistance. With both users being able to see and control the desktop. with the hosts permission. something simple enough so it wont be a whole process to walk them threw to even get connected to in the first place.
View 2 Replies
View Related
May 3, 2010
host - Ubuntu 9.10VM - Debian 5.04Sun vbox$ cat /etc/network/interfacesauto loiface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet manual
[code]....
View 2 Replies
View Related
Jan 9, 2010
I want to set up my laptop to allow connections to certain users with passwords from anywhere over the internet via SSH but I'm unsure about how I would go about doing this. I only thought it would be the case of setting up the open-ssh server on the laptop then, using my external IP and PuTTY on another PC outside of the network, connect to the external IP through port 22 so I tried this and wait 3 or 4 minutes or so and it says the connection times out.
I have also configured my router to use port forwarding but this doesn't seem to help much either and I have LAMP setup to allow connections to external IP : 80. The only thing I am able to do is access the laptop through the local network by using its internal IP's like 127.198.0.1:22 or something. I was wondering if anybody knows if and could tell me how I would do this as I really want to be able to access my home computer/laptop from my work sometimes, especially if I have work at home which is not with me at work or something.
I know this is possible but I'm quite new to this type of thing and don't know what is going wrong. Have I missed something or do I need to change any .conf files or anything?
View 4 Replies
View Related
Oct 16, 2010
I am using Ubunto 10-04 LTS and trying to connect to Western Digital (World Book) network drive. By signing into Mionet I am able to reach this drive on my network and remotely. Trying to run the executable resulted in the following error:
"The file '/media/Disc 1 290909/WDAnywhereAccess_3_6_0.exe' is not marked as executable. If this was downloaded or copied form an untrusted source, it may be dangerous to run. For more details, read about the executable bit."
View 7 Replies
View Related
Jul 10, 2011
I had an old windoz 2003 server running a few recreational web sites. I've grown tired of all the hacking attempts, FTP floods, etc. Ok.. I've grown tired of windoz period.When I set the server up, I had the operating system on one physical drive and stored all of the web files on a separate physical drive just in case I ever wanted to make some changes to the operating system.in my adventurous ways, I've dumped windoz and installed ubuntu 11, 32 bit server edition on this machine. It is running fine from what I see on the server side. The first problem I've noticed is when even attempting to navigate to localhost through the server's web browser, I get a permissions issue.
So... off to the drive where the httpd.conf file points to. This is the second physical drive. When checking permissions and attempting to change them to the correct ones for the folder, I can't change them. I've tried through the GUI and the terminal as root. Neither way will change the permissions.I've stepped back and checked the permissions on the physical drive the files are stored on. I am having the same issues with the drive itself. How in the world can I change the permissions either on the drive or the folder? Is there something I should do as far as the drive's mounting?
View 3 Replies
View Related
Mar 16, 2010
I encountered a problem when I am trying to access my phpmyadmin the error came up: Wrong permissions on configuration file, should not be world writable!
View 6 Replies
View Related
Sep 14, 2010
What is the best option for Internet wide "samba-like" file sharing? WebDAV?
View 8 Replies
View Related
Apr 20, 2010
What I am trying to do is the following:
1/ I have a server (at gandi.net),
2/ I have a domain name: domain.org,
3/ I would like to be able to send/receive mail with an own mail server.
For the point 3 above, I would like to be able to do:
a/ Send from user1@domain.org to user2@domain.org
b/ Send from user@domain.org to anybody@anywhere.tld
c/ Receive from anybody@anywhere.tld
Actions a/ and c/ are working, but I am unable to send mail to the "outside world" from my mail server.
In my research on forums and google, one of the thread stated that postfix, SMTP, ... installation is extremely complex and necessitate months of reading to start to get some knowledge.
Is it true that it is so complex and that a mail server installation is nearly impossible for a newbie ?
By the way, Web server, FTP server installation was rather easy to perform.
Is do you know an easy, nicely explained, step by step and working tutorial permitting to install a mail server on Ubuntu 9.10.
View 7 Replies
View Related
Nov 21, 2010
Ubuntu 10.x servervsftp mysqlwebmin Apache2I am running the Ubuntu server on the same 192.169.x.x subnet as the PC I am using to test vsftp and webmin and Apache.I can connect to the Apache web site hosted on the Ubuntu server but I cannot connect to any other service -- i.e. port 21 or port 10000 or 3306.Netstat shows:
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTENING
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTENING
tcp6 0 0 :::80 :::* LISTENING
[code]....
View 2 Replies
View Related
May 3, 2010
I have Webmin installed on an Ubuntu server. I currently have a successful apache server running on port 80, however I want to create a virtual host on port 81. When I try I go to servers->Apache Webserver-> Create Virtual Host I change the port to 81 and the document root to /var/port81www then I click create. How ever when I goto 192.168.1.5:81 (local ip, I know I have to port forward but its not even working local) it does not work.
View 5 Replies
View Related
May 29, 2010
I tried to install vsftpd on my server and while the installation went fine, I can't run
Code:
restart vsftpd
As I the get error
Code:
restart: Unable to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory Though I'm able to restart the service with
sudo /etc/init.d/vsftpd restart with a warning telling me to use the service utility. Not only that, but despite the port being open it won't allow me to log in, it just hangs, and I have local users enabled (I've used the default .conf file). Does dbus not come installed in 10.04, and if I did install it would it make a difference for restarting the service? Are there further steps needed not available in the tutorial on the Ubuntu Server Guide for 10.04 to enabling local user authentication? -edit- Figured it out, dbus wasn't installed, vsftpd is working fine now.
View 4 Replies
View Related
Jul 21, 2010
I can't connect to apache from outside the LAN. I can connect to everything else (ssh ftp) from outside.
I'm getting Error 101 (net::ERR_CONNECTION_RESET): Unknown error
My router is configured to redirect port 80 to my webserver. I am getting access logs etc and error logs for missing files (favicon)
View 1 Replies
View Related
Apr 26, 2011
I install and configure the vncserver following and reading 1000papers, but all of this present the same problem; when i try to connect to my vncserver,recive this mesage: unable connect to socket: No route to host (113) The OS version is Fedora Core 14 and tigervnc-server i try different solutions including:Allow TCP connection modifing files /etc/gdm/custom.conf and /usr/share/gdm/gdm.chemas Disable SELinux removing iptables Here follow the vncserver configuration:
[code].....
The ip address of the vncserver is correct because i can do ssh on it. Where or what can i do?
View 4 Replies
View Related
Feb 18, 2011
I am using Squeeze and all appears OK at first... I have a DHCP lease, PING to router works, apache servering fine in and outside the network, Epiphany seems to connects to default debian.org only, BUT I cannot connect to any other websites and apt will not connect to any servers. I installed once, tried to fix problem, gave up and reinstalled and still have the same problem.
I unistalled Network Manager thinking that was the problem, but still the same issue. Is there a default firewall blocking certain connections or am I missing something I'm supposed to know about? I installed some non-free firmware in the beginning of install and all worked... and I connected fine when downloading packages during install.
View 4 Replies
View Related
Apr 21, 2010
how to connect to mysql database using php in Apache on Ubuntu?
View 4 Replies
View Related
May 1, 2011
I'm configuring a web server using Apache and Tomcat. I use Apache 2 and various instances of Tomcat5 and Tomcat6..I try that Apache serves the static data and tomcat the dynamic (Apache receives all requests, sending tomcat only the dynamic)I see that Apache and Tomcat can be connected using http or ajp Can any tell me:
- What connector should I use: ajp, http,...?
- How can I say Apache to serve the static data and Tomcat the dynamic?Due to I have many instances of Tomcat, connectins http and https, https with client certificates, and due to the port configuration:
- Is there any way to configure Apache-tomcat without the use of ports in tomcat (a differect connector)?
View 3 Replies
View Related
Feb 4, 2010
I'm running Slackware 13. Apache has been configured and running. That is to say, I can access the server pages on my machine locally using the current DHCP IP address.
However I'm unable to access it from outside (say from a friends's house) using the same DHCP IP address. I read on the internet somewhere that some DSL providers disable port 80 to prevent individuals from hosting. I don't know if that's the case but I did try specifying different ports in httpd.conf and added the port number to the IP address URL but still didn't work.
Code:
I saw some LQ threads which said that the problem could be in the firewall. I don't think I have a firewall but I'm not sure. How do I know that?
I'm just trying some stuff without much concern for security at this point. I understand that a DHCP address can change but for now I don't mind entering the IP address explicitly.
View 14 Replies
View Related
Jan 3, 2011
Right now I have Apache and Tomcat running on the same server. For reasons I won't go into I'm experimenting with putting Apache on a separate server, and installing Tomcat on multiple back-end servers. This isn't a load-balancing scenario as each Tomcat container on the back-end servers will be providing a separate application/responding to a different url. In a typical setup (everything on one box) the configuration file (we use workers.properties)sets what appears to be parameters such as the location of tomcat and Java. For example, here is the current output of workers.properties:Quote:
workers.tomcat_home=/usr/share/tomcat6/
workers.java_home=/usr/lib/jvm/default-java
ps=/
[code]...
View 3 Replies
View Related
Sep 3, 2010
I've created a application,i tried to deploy in JBoss application server..that application working fine.so i tried to run my allication in apache web server,i have done some configuration in apache & installed apache-tomcat connector also..its working fine.but i will try access next page its showing error.
View 1 Replies
View Related
Apr 19, 2010
To automatically upgrade i need to connect to a FTP server. Now do i have to allow wordpress access via apache to the machine it is on or do i have to create a ftp server on another machine with the files on it?
View 2 Replies
View Related
Apr 23, 2010
I've run into a problem and I don't know if it's apache or php or the combination of both. I can compile apache 2.2.15 just fine, but whenever I try to compile php 5.3.2 into my server, the first two steps work just fine but when I get to the make install part it shows the libphp5.so and it just stays there and I have to cancel the install because it won't finish.
View 5 Replies
View Related
Sep 1, 2010
just switched our company from windows server to linux and everything is going good except we have 4 vpn connections though out the country coming to our server. All giving the client machines ip addresses of 192.168.x.x based on where they are located 192.168.1.x for the main location 192.168.2.x for a second location etc, and IIS could see the clients ip instead of the wan ip and was setup to block all ips except 192.168.x.x ip's and this worked great.
So i set up apache the same way, to allow only 192.168 ip's but i guess it doesn't work that way in apache for connections coming though vpn? 2 out of our 4 VPN connections are not static IP's, so the 2 that are I just add that ip to the allow list and that worked.But i don't think we should HAVE to get static ips for the other 2, that's one of the benefits of using VPN, especially if our old windows server didnt need it.Is there any way for apache to see the clients ip address for access or is there something somewhere else that needs changed for this?
View 8 Replies
View Related
Oct 6, 2010
I've got some strange looking requests in my access_log which I don't much like the look of. Can someone take a look and let me know if 1) it's possible for other people to use my server as a proxy, and 2) how I can stop them.
Code:
85.190.0.3 - - [06/Oct/2010:14:32:55 +0100] "CONNECT 213.92.8.7:31204 HTTP/1.0" 200 1606
85.190.0.3 - - [06/Oct/2010:14:32:55 +0100] "CONNECT 213.92.8.7:31204 HTTP/1.0" 200 1606
85.190.0.3 - - [06/Oct/2010:14:32:55 +0100] "GET http://vlad-tepes.bofh.it/proxy.txt HTTP/1.0" 404 1955
85.190.0.3 - - [06/Oct/2010:14:32:55 +0100] "GET http://vlad-tepes.bofh.it/proxy.txt HTTP/1.0" 404 1955
85.190.0.3 - - [06/Oct/2010:14:32:55 +0100] "CONNECT 213.92.8.7:31204 HTTP/1.0" 200 1606
[Code]...
View 9 Replies
View Related
Nov 14, 2010
My Server is 8.04 (hardy) and Apache is 2.2.8. I have been receiving emails from Apache each time a new stable release is available, most of which say you should install them due to security issues. The current stable release of apache being offered is 2.2.17
Q1) Do you recommend I upgrade from Apache 2.2.8 to 2.2.17?
Q2) Does this come automatically with my regular updates via Update Manager once the Ubuntu community thinks its stable enough (it appears that it doesn't)?
Q3) What is the best way to install the update?
Q4) Any concerns about installing it into a live environment? I don't have a development platform to try it in first.
View 3 Replies
View Related
Dec 7, 2010
When starting Apache I get this error in 10.10 (not in 9.10): [Fri Dec 03 21:14:22 2010] [error] (2)No such file or directory: could not open transfer log file /etc/apache2/${APACHE_LOG_DIR}/other_vhosts_access.log. Unable to open logs So where do I define APACHE_LOG_DIR ?
View 4 Replies
View Related