Ubuntu Servers :: VirtualHost, Doesn't Work When Use Www

May 19, 2011

Ive made a site on my Ubuntu server and link the folder where it is with VirtualHost. The problem is, when i place mypage.com works, when try www.mypage.com goes to the apache "It Works" page.

View 4 Replies


ADVERTISEMENT

Ubuntu Servers :: Setting Up Virtualhost And /etc/hosts?

Apr 11, 2010

I've set up apache2, but I'm having trouble getting virtual hosts to work

my /etc/hosts

Code:
127.0.0.1localhost
127.0.1.1johnny-desktop
127.0.0.1go

[Code]....

View 2 Replies View Related

Ubuntu Servers :: Configure A Few VirtualHost In Apache2?

Aug 10, 2010

I applogies if this doesn't fit or if this is right in from of my face but, I'm a bit confused.I'm trying to configure a few VirtualHost in apache2. I currently a default virtualhost and 2 other sites. No matter which domain I visit I still get the default page.. My Confusion is, I've been reading and some places seem to say that my virtual hosts should be in /etc/apache2/sites-enabled/*Config File* and other seem to say it should be in /etc/apache2/httpd.conf what the awsner... I've tried both ways with no success .... If I put NameVirtualHost in httpd.conf I get an error saying their are no virtual hosts.

View 2 Replies View Related

Ubuntu Servers :: Virtualhost - Within The Vps That Servername Is Directed To The Directory /var/www/the_directory

Jul 10, 2011

I'm sure it's a minor mistake; these are the steps I've taken currentdomain: domain i already have, and works. newdomain: domain i newly bought.

[Code]....

This is to make sure the files are actually there, this subdomain works... simply pointing to the same folder

[Code]...

- all ipadresses in the hosting service of the domain thing is pointing to the vps.
- Within the vps that servername is directed to the directory /var/www/the_directory
- That directory holds the actual website files. This is proven with the subdomain method.

View 3 Replies View Related

Ubuntu Servers :: Running Multiple Websites On Single Server - VirtualHost

Aug 25, 2010

I currently am running 10.04.1 and have successfully setup my home web server to run a single website. My current settings are:

-I have registered the domain name annarrankings.com through godaddy
-A record is - host = @ and points to = 71.114.220.3
-CName is - host = www and points to = @
-on my server I have the site running in /var/www

I've done some research and found that to run multiple websites I need to setup VirtualHost.

-So I created a folder /var/www/annarrankings.com and moved my site to that folder

-Edited Apache2.conf to add the following line

-I then went to /etc/apache2/sites-enabled and copied the default file to a new file called annarrankings.com. Here's the annarrankings.com file after I edited it

-I then created a link in /etc/apache2/sites-enabled to the annarrankings.com file in /etc/apache2/sites-available

-Next I editied /etc/hosts

-When i went to enable the site using a2ensite annarrankings.com I got the following

I figured this was ok since I had already created a symbolic link earlier (a result of trying to following multiple tutorials and ..... videos at once) so I reloaded apache2. I created an index.html file in /var/www/ just for testing purposes and when I load www.annarrankings.com I get the file located in /var/www/ instead of the website located in /var/www/annarrankings.com Do I need to change my A record or CName in godaddy or did I just do this completely wrong?

View 8 Replies View Related

Ubuntu Servers :: Ssh Doesn't Work From Internet

May 2, 2010

I can't connect to my ssh-server (on ubuntu 10.04) from any external address. The error in putty is "connection timed out". From my internal network, everything works fine, even if I select my external IP address and port in putty as the destination.

This is what I have done so far:

installed open ssh with the ubuntu server 10.04 cd
set up port forwarding (11041) in my router (seems to work ok, port is open according to "shields up")
configured ssh to use port 11041 in /etc/ssh/sshd_config
changed tcp and udp ssh port in /etc/services to 11041
enabled UFW and did sudo ufw allow ssh

[Code].....

View 4 Replies View Related

Ubuntu Servers :: Website Doesn't Work With Www

Nov 27, 2010

I have added a domain to my new vps account but i notice that the website doesn't work with www so how can i redirect www.example.com to example.com. (bind9, apache2, webmin, ubuntu server 10.04 lts)

View 9 Replies View Related

Ubuntu Servers :: Tomcat Manager Doesn't Work?

Jul 31, 2010

I'm really new with Ubuntu and have the following problem:I installed successfully sun-java6-jdk using apt-get install sun-java6-jdk Then set up the JAVA_HOME environment variable to "/usr/lib/jvm/java-6-sun-1.6.0.20"

And then installed successfully tomcat6 using apt-get install tomcat6 apt-get install tomcat6-admin tomcat6-examples tomcat6-docs Everything seem to be right, when I try the browser with http://localhost:8080 return a webpage with "It works !" and other text

But, if I try http://localhost:8080/manager/html then returns 404 error, the error is something like "The required resource (manager/html) is not available" (that is my translation from the spanish text "El recurso requerido (/manager/html) no est disponible")

[Code]..

View 1 Replies View Related

Ubuntu Servers :: Vsftpd Doesn't Work Anymore

Nov 27, 2010

I recently installed vsftpd on my system and it was running fine for my system users. Now I wanted to add virtual users so I googled it, I found this tutorial: [URL]

I did what they've been saying over there but when I restarted the vsftpd I couldn't login with the virtual user and also not with the system user anymore. This is the error ( with the system user who could login before ):

Code:
Status:Verbinden met 109.230.234.21:21...
Status:Verbinding aangemaakt, welkomstbericht afwachten...
Antwoord:220 (vsFTPd 2.2.2)

[Code]...

View 9 Replies View Related

Ubuntu Servers :: Apache2 Alias Doesn't Work

Nov 29, 2010

I'm trying to set up 2 aliases with PHP files in it. But in both cases I get a 403 Forbidden error. This is what the /etc/apache2/conf.d/alias file looks like:

[Code]....

View 9 Replies View Related

Ubuntu Servers :: Vnc Doesn't Work Unless Monitor Is Connected

Feb 17, 2011

Last night I was able to set up my server so that I can just connect vnc. I even was able to be connected at the log on screen so I could select which user I wanted to log in at. For some reason today, I have to have the monitor plugged in all the until the logon screen comes up before vnc will connect. Once the logon screen is up, I then can connect via vnc & select which user I want to logon as. It's odd because it worked last nigh, but today - Nope nada, it doesn't work & I can't explain why. I did clean up - Removing some applications I don't need on my server. (I'm hoping that isn't the problem) It's odd as well because I don't have to be logged on as a user to connect via vnc, I just have to wait until the logon screen is available...Then I can unplugged the monitor & logon.

View 1 Replies View Related

Ubuntu Servers :: PHP Error Reporting Doesn't Work?

Apr 5, 2011

I am developing/testing a PHP app on my netbook. For some reason apache/php are returning nothing but a "500 internal server error" response when there is a problem with my php script. For example, if there is a semicolon or closing brace missing, it should cause the script to die with a hint about which line caused the script to stop working. Instead it displays nothing but a "500 internal server error" message.

View 5 Replies View Related

Ubuntu Servers :: VSFTPD With NIS Environment Doesn't Work?

Apr 11, 2011

I installed Ubuntu 10.04 64bit server on DELL R710 server recently.

The basic:
[System Model] --- PowerEdge R710
[Ubuntu] ---
root@pek-mcbuild2:~# cat /proc/version
Linux version 2.6.32-21-generic (buildd@yellow) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010
root@pek-mcbuild2:~# uname -ar

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Software RAID Doesn't Work?

Jul 2, 2011

I'm trying to put two identical disks in Raid 1 for a homeserver. I got Ubuntu 11.04 server 32 bits on a USB stick. Installated till partition menu. Now I get the question how I want to partition my disks. I choose manual, and two times entire disk, one for both. It looks like this:

(iPhone quality)

I go to configure software Raid, and select Raid 1, 2 active disks, 0 spare disks, and get this:

I can't choose the other 2TB partition. I think I have to configure Raid three times, one for each partition. Not?

I click the missing 2TB partition, and get this:

But I think there's no RAID device at all, I see this again when I go to Configure Software Raid, en try to delete a RAID device:

How do I get Disk 1 and Disk 2 together in Raid 1? [URL]

View 3 Replies View Related

Ubuntu Servers :: Cgi Doesn't Work With New Apache Site Configuration?

Mar 24, 2010

I installed apache on my local machine to test my sites. I have one problem:I created a new site configuration in /etc/apache2/sites-available and enabled it. The problem is that cgi is not working, it just prints the content of the files. (The default location for cgi, /usr/lib/cgi-bin works without problem.)Here is the content of the site configuration file:

Code:
<VirtualHost *site1:80>
ServerAdmin webmaster@localhost

[code]....

View 4 Replies View Related

Ubuntu Servers :: FA120 Doesn't Work - Works In Desktop

May 24, 2010

I recently moved from Ubuntu Desktop to Ubuntu Server. I have a Dell D600 acting as a three prong firewall. I use a Netgear FA120 USB NIC for the third prong. After converting to Server, the NIC detects as Eth1. I'm able to configure an IP, but the NIC never sends or receives packets. The same NIC works great in Ubuntu Desktop. Dmesg never shows the NIC being ready.

View 3 Replies View Related

Ubuntu Servers :: Phar Stream Wrappers Doesn't Work?

Oct 16, 2010

I have a problem with phar: simply, stream wrappers doens't work. I've followed all tutorials on php.net but the error is always the same. Maybe something wrong on my ubuntu server?

Quote:

Ubuntu 10.04.1 LTS / Apache/2.2.14 (Ubuntu)

Quote:

PHP 5.3.2-1ubuntu4.5 with Suhosin-Patch (cli) (built: Sep 17 2010 13:41:55)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

[Code]....

View 4 Replies View Related

Ubuntu Servers :: Samba Folder Doesn't Work In Vista

Mar 27, 2011

I got ubuntu samba server on server 10.04 username:user1 , Home folder: /home/user1 This user connects from a macbook pro no problem. I followed the same steps to set up user2 username:user2 , Home folder: /home/user2 This user does not connect from windows vista. I have the correct ports open, 137-139 & 445, and can connect from the macintosh, but not vista. The error says that the username or password is in correct. If you need some log files or config files, just let me know where to go and they're all yours!

View 9 Replies View Related

Ubuntu Servers :: Lmsensors Snmp Doesn't Work After Dist-upgrade

May 5, 2010

I have a small problem with lmsensors and snmp since I upgraded my small server from 9.10 to 10.04. I use cacti to monitor my servers usage, disk space as well as temps and fans.
This was running very fine before the upgrade, but now I don't get data anymore from lmsensors. It seems that SNMP doesn't give this information as before. (Cacti log says: "No sensor data was returned from SNMP")

sensors give the following output:

Code:

w83627dhg-isa-0290
Adapter: ISA adapter
Vcore: +1.12 V (min = +0.00 V, max = +1.74 V)
AVCC: +3.41 V (min = +2.98 V, max = +3.63 V)

[code]....

View 3 Replies View Related

Ubuntu Servers :: Send Mail Doesn't Postfix SASL Work

Nov 27, 2010

I'm running a server with Ubuntu 10.04 and I have installed postfix and courier. The server can recieve mail and I can fetch them using POP, but when I try to send mail it doesn't work. Postfix itself can send email if i telnet from localhost and I am using my ISP as a relay because they block port 25. I'm using outlook 2007 on my client computer and it just says that the server rejects the login attempt and tells me to check my username and password. Postfix listens on port 12 as well because the client connection also has outgoing on port 25 blocked. I have tried to use telnet to connect to the server, and I can connect. This is what I get:

[Code]....

Now what? I've tried searching for the answer but all I can come up with is AUTH PLAIN or AUTH LOGIN, but I don't know what to type after that.

View 2 Replies View Related

Fedora Servers :: Can't Use Tftp \ Remotely It Doesn't Work?

Jul 29, 2009

Server: CentosClient: F11Remotely it doesn't work

Code:
tftp 10.0.0.2
tftp> status

[code]....

View 4 Replies View Related

Fedora Servers :: Sshd Within Xinetd Doesn't Work

Aug 21, 2010

I recently installed Fedora 13 on VMware 7 environment without X window. sshd did work fine, but when I tried to put it into xinetd, it doesn't work any more. Here is what I have done so far :

I stopped sshd. #service sshd stop

and I configured xinetd.conf like below.

Quote:

#
# This is the master xinetd configuration file. Settings in the
# default section will be inherited by all service configurations
# unless explicitly overridden in the service configuration. See
# xinetd.conf in the man pages for a more detailed explanation of
# these attributes.

[Code]....

I don't know what I did wrong with them. I configured xinetd.conf, and I made service configuration file 'ssh' in /etc/xinetd.d, and I restarted xinetd.

What am I supposed to do to make a life on my sshd within xinetd ?

View 1 Replies View Related

Ubuntu Servers :: Created A New Virtual Host In Apache Using Webmin - Doesn't Work ?

Nov 14, 2010

I created a new virtual host in Apache using Webmin and am having trouble getting it to work. When I created it, I opted to create the config file as a "New file under virtual servers directory /etc/apache2/sites-available". So now I have a default config file /etc/apache2/sites-available/default and a new one created by Webmin at /etc/apache2/sites-available/webmin.1412323.conf. It seems like the settings in that new Webmin config file aren't being picked up by Apache -- when I try and browse to mywebsite.com it shows my root /var/www folder, not the subdirectory /var/www/mywebsite.

Is there a way I can tell Apache to include the new Webmin config file for the virtual host or should I just copy the directives into the default file at /etc/apache2/sites-available/default? It seems like Webmin should automatically configure Apache to work with any newly generated config files.

View 4 Replies View Related

Ubuntu Servers :: Bind9 Views - Reverse Lookup Zone Doesn't Work ?

Apr 1, 2011

I'm at a loss to why my reverse lookup zone doesn't work for me.I've got two views. One internal and one external. My domain is isp2.datornatverk.se. Public IP: 130.240.133.81.

dig -x @8.8.8.8 130.240.133.81

gives me:

;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 2917
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

I've set it up so that the internal subnets gets the domains resolved to the internal IP-addresses. When querying from external addresses I will get public IP.My named.conf.local file:

Code:
acl internals {
127.0.0.0/8;[code]..........

I don't know whether the views has messed something up. It worked before I added the views.

View 3 Replies View Related

Fedora Servers :: DYNDNS Changed Public Key - Now Scp Doesn't Work

Apr 9, 2010

A week ago or so neither ssh nor scp were working when attempting to connect to my on-campus computer from home. ssh was complainig about the key not matching and I figured out I could just delete the config file it was reading the (now old) key from and let it create a new one with the updated key upon prompting me whether or not to trust the remote host.

However, even though ssh is now working, I can no longer use scp. I issued scp -v and discovered a bunch of errors. scp prompts me for the remote password and even prints the message of the day on the remote computer but then just hangs and doesn't seem to be copying any files. I'm sure the issue is with the whole key change issue but I can't quite figure out why ssh would be working just fine and scp would be failing.

View 1 Replies View Related

Fedora Servers :: Welcome Page When Codeigniter Works But It Doesn't Work

Oct 27, 2010

the codeigniter didn't work in my Fedora,the welcome page,when your codeigniter works,it will shows,but it doesn't appear.the same step,it can work in Windows. What's the problem?

View 4 Replies View Related

Ubuntu Servers :: "service Mysql Status" Doesn't Work In 10.04.1

Sep 30, 2010

I'm running Ubuntu Server 10.04.1 in Virtualbox environment with the host is Ubuntu Desktop 10.04.1.I have built a LAMP server after a fresh installation of Ubuntu server (I didn't choose LAMP to install when I installed this server) , everything works fine, but when I run "service mysql status" command I get this error: "status: Unable to connect to system bus: Failed to connect to socket /var/run dbus/system_bus_socket: No such file or directory"

I try in my desktop (also with LAMP installed) and I get the result like:

"mysql start/running, process 1218"

View 3 Replies View Related

Ubuntu Multimedia :: Flash Doesn't Work And Removing / Re-installing Package Doesn't Fix It

Sep 1, 2011

I'm using 'Adobe Flash plug-in 10.3.183.4ubuntu0.11.04.1', installed from the package repos on kubuntu, and since the last update, it has broken all flash functionality in both rekonq and firefox.I have tried removing and reinstalling the package multiple times, both with and without the browsers open. Can anyone suggest a way to restoring functionality?

View 7 Replies View Related

Ubuntu Installation :: Setting Up Virtualhost Apache?

Aug 22, 2011

I am setting up a VirtualHost on my Apache. I am quite not familiar with Ubuntu setup so I am wondering what will I do with the 000-default file (which contains a template of virtualhost syntax)? What filename will I save it to?

View 1 Replies View Related

Ubuntu Multimedia :: Creative Webcam Doesn't Work - How To Make It Work

Feb 17, 2011

how to make creative web cam working with ubuntu

View 1 Replies View Related







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