Ubuntu Servers :: Web Can't Access Without Type Www
Apr 25, 2011
I'm working to set up my first server to experiment hosting my own web pages. I have installed Ubuntu 10.04 server. my web only can access by typing www.xxxxxx.com, if we not typing www (xxxxxx.com), it will not responding.
I am new to Linux, have used KDE/SLAX before but am now attempting to use linux on my old computer to accomplish these objectives:
1) Run an FTP so I (& my mates) can access files anywhere wit ease(no dramas). 2) Enable sharing of my drives so I can put files from Laptop into this computer
Now I have successfully Installed Ubuntu Server (Finallllly) but then messed up cuz I installed the Gnome GUI and now cant find any place where I can type any sudo commands. vsftpd should work for me right?
I'm having a problem with my webdav share. I have a secure webdav folder that gets accessed via a non-standard port and requires basic authentication. I can connect and interact with it fine via cadaver. However, when I try to connect from nautilus, it says "Access was denied." To make it even stranger, sometimes I can click on the folder in nautilus (it still mounts) and access it. Sometimes not (just repeats the error message and won't show me the contents). I may not even un-mount it, but just look at other folder, then click it again and be able to access it, but again - only rarely.
I asked a friend to try connecting from his windows vista computer and it would not work. It would not work from my windows XP virtual computer either. However, it mounts and works just find from my work computer (also Windows XP).
So it seems to be a 50/50 chance that the drive will mount on any given computer/system and work. Do anyone know what the problem may be? I'm guessing user permissions, but I can't figure out what.
I've made sure the webdav folder is owned by www-data and www-data has read access to the password file as well.
When I try connecting from nautilus, I get this in the log file:
Code:
Here is one of the (many) sites I've tried looking at: [url]
I installed a month or so ago a Samba File Server along with Active Directory integration in my company. I choose to install on my newly created raid array, all in ext3 filesystem. The purpose of this fileserver is to have lots of files from the different departments on the company (all windows workstations except mine). Everyone has a private folder and a department folder, along with the common folder for all employees.did I made a mistake formating all to ext3? would I get a significant increase in performance if I resize the current ubuntu partiton and created a new NTFS new one and move the files to it?
When i type vi /etc/network/interfaces, i get a blank screen with blue dashes on the left side. "/etc/network/interfaces/" [New DIRECTORY]. I am running Ubuntu 11.04 server and am trying to set static ip. I found a work around but why is this happening?
In my system around 73gb(pc-desktop) i have,1 primary partition(windows)-25gb, 1-extended partition(remaining gb) 3 logical partitions were there in (under) extended partition in one of the logical partition is d:drive. in my hard disk d: drive is -/dev/sda5
previosly i was fat -file system , (d:drive-/dev/sda5), i remember i changed the d: drive(d:drive-/dev/sda5) file system to ext4file system ,with following command using terminal
After doing(changing the file system)this one ,i couldnt see the d:drive data
By doing that
1q) Did i reformatted the partition? i think the new filesystem(ext4) has no knowledge of the data that was on it when it had a FAT filesystem.
2q) How to do undo operation,i tried to change the filesystem type to fat/ntfs in terminal using command --sudo mkfs -t FAT /dev/sda5.
Result:its showing text message-'mkfs.FAT: No such file or directory'(not in single quote)
I just loaded octave. I ran through a few examples of how to implement a script file. Everything works until I get to "plot". When I run the "plot" command I get the following.
octave:2> test1.m error: can't perform indexing operations for <unknown type> type sh: gnuplot: not found Just to double check my work, I ran the following code: y=[1 2 3]; plot(y);
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
Every time I try to mount a folder from my server, it ignores whatever folder I specify and just mounts the first folder in the exports file.I used to be able to mount more than one nfs folder, so I don't understand what is going on. Google isn't helpful.
I am a Newbie to Server platform. Just installed Ubuntu 9.04 server, As my Lappy not supporting OEL 4. I was shocked to see that there is no GUI. Anyhow, in that it is showing to Login. I enter the Username and password which was created during Installation on Ubuntu server. It was fine. How to goto Root? I typed su - root and entered password Says Authentication failure. How can I overcome this? While Installation where ever it asks for a password I use the same one.
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?
I had followed this Guide to get proftpd with mysql on a Ubuntu server edition the last one available to download 10.04.1I did everything. phpmyadmin is working I can access it via the browser and create users and groups.When I am trying to enter my server using the ip or the domain name I am getting an instant error.Flash fxp's error log
Code: [R] Connecting to 192.168.25.117 -> IP=192.168.25.117 PORT=21 (attempt # 2) [R] Connected to 192.168.25.117
I'm running Ubuntu Server 10.04 32-bit.I'm looking to find if there is anyway I can lock down ubuntu so that remote access, whether it be SSH, ftp, apache.etc can be only accessed from a certain IP range, or a certain set of IPs?Essentially, we'll say the Server IP is 192.168.1.32, and I want the IP addresses 192.168.1.33-50 to be able to access the server, but no other IPs.I am in a switched environment, router's are not allowed to be placed on the network, and I do not have access to a DNS or DHCP server.Is there a way to do this in on the server via a configuration of some sort?
I've got VPN setup and working on my server. I can VPN into the server and access my local network from anywhere. It uses pptpd for it. My problem is that I can't access the internet once I'm connected to my VPN. Is it possible to allow internet access through VPN?I mainly would just like to be able to connect, access my local network, and still browse the internet. Is there anything specific I need to change?
I installed vsftp on ubuntu10.04.2 32-bit server. I can access ftp remotely by using ftp client tool -- Filezilla, but can't access ftp site from web browsers (tried on both IE8 & Firefox). when type ftp://xxx.xxxx.xxx, the browser has no response.
I am trying to set up my 11.04 ubuntu install so that php can access ms-sql servers. I have done this twice before once with ver 9.10 and centos 5. So I figure I would follow the same steps again as I did last time. but its not working this time around. I get to building php and get the following error. I do not often build packages as I dont know much about it so I figure I have missed something some place. Can anyone tell me what this means and a clue to where I can find the fix.
>> dpkg-buildpackage dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions dpkg-buildpackage: source package php5
I am trying to generic way to convert the string datatype to other primitive data type. To achieve, i used Template . But i getting error and couldn't resolve the issue and error reported is also clueless.
I have an Ubuntu 9.10 server and I recently noticed that when it starts up I see the following displayed
* Starting init crypto disks.. * Could not access PID file for nmbd
I don't know where the message "Could not access PID file for nmbd" it doesn't appear to be coming from samba because samba is starting later in the startup. I've had no issues with samba and I can restart samba with no issues. Is this something to be concerned about? I noticed it started after I upgraded my samba server.
I set up mod_proxy in order to get rid of :8080 now I cant access phpmyadmin through the browser. what is the quickest way to turn off mod_proxy and access phpmyadmin? I would like to optimize the tables and back up the sql file. I just need to turn it on for a bit, and then enable mod_proxy again.Right now, if I got to localhost/phpmyadmin, it redirects to the main application.
I have used a2enmod, and added sudo a2enmod proxy sudo a2enmod proxy_http sudo a2enmod proxy_ajp
Apache by defaults points to /var/www/eachdomain. I need to be able to give users ftp access to /var/www/specific domains.
It seems that if I change the owner of /var/www/specificdomains/ to the user in question, then www:data no longer owns the directory and Apache starts to have issues..
What's the best way to set this such that I can allow users to FTP into specific directories, and still have www:data own them? I'm currently using vsftp, but that can easily change.
I am running an apache server thru webmin, on a 8.04 install. Attempting to install awstats I have realized that access.log stopped writing some months ago. Went back thru the error logs and found I had deleted the virtual server, and started a new one. Everything else works fine, it never even occurred to me that logging would not also be restarted. I would just like to get it going again, any clues???
On my Ubuntu 10.04 lucid lynx server edition machine I have an Apache http server listening on port 80 and today I installed the Funambol server which added an Apache Tomcat server listening on port 8080. From within my lan I can reach both servers, but from outside the lan I can only reach the http server on port 80 and not the Funambol server on port 8080. I get a time out message instead.
In my router I have setup port forwarding, such that both ports 80 and 8080 get forwarded to my server machine. Must Tomcat be told to listen to external requests? Is my server listening on port 8080 only for requests inside the lan? Or is there some authorization that fails when I try to visit from outside my lan?
Here is some netstat output, I don't know if the differences between the 80 line and the 8080 line are relevant: