Ubuntu Servers :: Apache2 Virtual Hosts Foreign Characters?

Apr 23, 2010

when I'm trying to add a virtual host with a foreign character in the domain name. The foreign character is .

I've read earlier threads where it was said I should puny code it, which then translates to xn--nda

I then created a virtual host, as shown (replaced the real domain with exampl�:

Code:
<VirtualHost *:80>
ServerAdmin me@exampl�.com
ServerName exampl�.com

[Code]....

However, apache2 doesn't recognize this when I try to enter the domain, it just shows my 000default.

View 2 Replies


ADVERTISEMENT

Ubuntu Servers :: Apache2: SNI & Virtual Hosts - Multiple Virtual Hosts With Ssl And Only 1 Ip Address

Jan 17, 2011

[Code]....

What I want: multiple virtual hosts with ssl and only 1 ip address: In my example: server = 192.168.227.129

[Code]....

View 9 Replies View Related

Ubuntu Servers :: NameVirtualHost 80 Has No Virtual Hosts Apache2 Hosting Multiple Sites Without DNS?

May 10, 2010

I have some problem in apache2 configuration. I have two websites on same IP on LAN.i.e. 192.168.1.5

[Code]...

What should I check in a few blogs I checked they said to mention in [URL]...But in this case what should I put I have two different websites or what other thing I have missed? I do not have access to DNS so that on LAN I can point site1.abc.com and abc.com to same IP 192.168.1.5 which to me seems could resolve the issue.

View 6 Replies View Related

Ubuntu Security :: Allow Foreign IP Address In Hosts?

May 30, 2011

I found this IP address in my hosts.allowQuote:ALL: 119.42.68.232I cannot find any other evidence of intrusion.

View 4 Replies View Related

Ubuntu Servers :: Virtual Hosts Don't Work With Any Web?

Jan 21, 2010

I don't know if I'm posting in the right box - I'm new to both Ubuntu and this forum so please bear with me. Thing is, I spent almost 2 days trying to find a web server that meets my likes. I tried like almost every well known web server, be it Apache, Lighttpd, Nginx, and Cherokee, one by one. For each I was successfully in getting PHP up and running, but was never able to configure the virtual hosts.

I'm 99.99% sure that I - for multiple times - followed correctly the online how-to's. Especially Cherokee, I did exactly the screencast (which is just 2 steps, as Cherokee has a GUI for virtual server setups). Strange enough, with each web server the virtual hosts thing never worked for me. I always received "Server not found" error. I tried with Firefox and Google Chrome. Currently I'm on an Ubuntu 9.10 (32bit) box - I reinstalled this one over the 64bit, to vain.

Don't know if it's a problem with my DNS, but I have another machine running Windows 7 with the same DHCP settings (means same DNS and IP range). Virtual hosts work fine there on an XAMPP installation.

View 9 Replies View Related

Ubuntu Servers :: Apache Virtual Hosts Behind NAT?

Aug 18, 2010

I'm wondering if this is even possible before I start the learning curve with Ubuntu and apache virtual hosts.

I have a static external IP address that resolves to the various domain names I will be using. I have a web server inside my network with a private IP address and any http request to the firewall is forwarded to the webserver on the appropriate port. This setup works well when using the same web page/configuration for all of the domains.

Will it be possible to use named virtual hosts in this configuration, or will the NAT'ing interfere?

View 9 Replies View Related

Ubuntu Servers :: Cannot Access Other Virtual Hosts

May 19, 2011

I have been searching and reconfiguring for 6 days now and have lost several clumps of hair.. PROBLEM: I want 2+ virtual hosts on my ubuntu server (1 ip) BUT - Only the first "alphabetically" listed sites-enabled shows.

[Code]...

[Code]...

View 6 Replies View Related

Fedora Servers :: Add Virtual Hosts To Xampp?

Aug 16, 2011

I'm new to fedora and linux. I'm trying to add virtual hosts to my xampp server in /etc/hosts I added :

Code:
127.0.0.1 localhost.localdomain testsite
and in /opt/lampp/etc/extra/httpd-vhosts.conf added this:
Code:
<VirtualHost *:80>
# ServerAdmin webmaster@dummy-host.example.com
DocumentRoot /opt/lampp/htdocs/testsite

[Code]...

View 9 Replies View Related

Ubuntu Servers :: SSL Only On Apache2 Virtual Host?

Apr 16, 2010

I currently have a virtual host setup to accept SSL connections as follows:

Code:
<VirtualHost *:443>
DocumentRoot "/var/www"
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.pem

[Code].....

How would I change it so that it can only be accessed via HTTPS ??

View 4 Replies View Related

General :: Foreign Characters And Strange Translation

Oct 18, 2010

In this case its the french accented e that is getting translated:[test]$ touch dd touch: cannot touch `351dd': No such file or directory the thing is the folder test is an smb mount. The windows server which is dropping files into it is able to make the file visible but the app running on the linux can't fetch it because the name is 'unexpected'if I create a file anywhere else e.g. in /tmp/ with the name response.txt it is fine. When I ls I see r?sponse.Can you advise me if I should be looking at the smb config AND the host config and give me some pointers as to where to get started trying to solve this.

View 3 Replies View Related

Ubuntu Servers :: Multiple Virtual Hosts, Http And Https?

Sep 15, 2010

What is the best way to go about setting up multiple virtual hosts on the same box, one using http and one using https/ssl? I'd like to serve them from the same ip address if possible; I know it's possible in apache 1.3.

View 2 Replies View Related

Ubuntu Servers :: Apache 2.2 Users And Groups In Virtual Hosts?

Mar 3, 2011

I have Apache up and running and have a few virtual sites enabled. All these sites belong to the same user and group and the directory root for each site is in /home/{same-user}/www/{site-name}/htdocs/

I use Samba to connect from Windows to these directories and by default, files and directories are saved as the {same-user} and {same-group}. My question is, would it cause a problem if I changed the user and group in the virtual server directives in /etc/apache2/sites-available/site.conf files, giving apache permission to write to these files and directories. In the past I have changed the user and group to www-data (the default) but this seems inefficient an cumbersome compared to what I intend to do.

I use the server mostly for development, although at times I have a small site or two available to the public. Before I do this I want to be sure I'm not leaving a gaping security hole by changing these things. If this is all wrong, what is the standard way of running virtual hosts from apache and what is the standard document root for virtual sites?

View 4 Replies View Related

Ubuntu Servers :: Bind9 For DNS Installed - Virtual Hosts Configurable

Jun 11, 2011

I have installed bind9 for DNS. I have also installed Apache2, PHP5, MySQL, and correctly configured these together. When I view domain1.co.uk it currently works fine as required. I would like to change it to:
* /var/www/domain1.co.uk/prod/ - becomes the root dir of domain1.co.uk
* /var/www/domain2.co.uk/prod/ - becomes the root dir of domain2.co.uk

Nevertheless, I have created a the following files; these are copies of the "default" file and correctly amended. the required destination directories are in place!
* /etc/apache2/sites-available/domain1.co.uk
* /etc/apache2/sites-available/domain2.co.uk

I then executed:
Code:
sudo ln -s domain1.co.uk ../sites-enabled/domain1.co.uk
Code:
sudo ln -s domain2.co.uk ../sites-enabled/domain2.co.uk

It is important to understand domain1.co.uk and domain2.co.uk represent 2 Existing domain names I own, and both point to my server.
domain1.co.uk currently works in /var/www
Why I would like multiple domain names on the server.

View 1 Replies View Related

Ubuntu :: Cannot Rename Or Delete Files / Folders With Foreign Characters

May 12, 2010

Can't rename, move or delete files or folders that have a foreign character.
Code:
The file or folder /data/down/done/1999 Taraf de Ha-douks does not exist.
Kubuntu Karmic. Fails in konqueror and dolphin.

View 5 Replies View Related

Ubuntu Servers :: Can't Access Virtual Host (apache2)?

Jan 24, 2011

I've just installed LAMP. http://localhost/ page works fine. I need to create some virtual hosts. Localhost page is situated in /var/www/. It's normal for me, and I wanted to created virtualhost (in /var/www/vhost1) But it doesn't open in browser. Where is my mistake?

/etc/apache2/ports.conf
Code:
NameVirtualHost *:80
Listen 80
<IfModule mod_ssl.c>
# If you add NameVirtualHost *:443 here, you will also have to change
# the VirtualHost statement in /etc/apache2/sites-available/default-ssl

[Code]...

View 7 Replies View Related

Ubuntu Servers :: How To Make Virtual Host Using Apache2

May 5, 2011

I want make several virtual Host using apache2. Each virtual host will have virtual domains in localhost with different root.

View 4 Replies View Related

Ubuntu Servers :: Unable To Configure Virtual Hosts File Properly

Jun 28, 2011

I'm having problems configuring my virtual hosts file properly The site [URL]... opens on http and https The site 10.0.1.3/myapp/ works
I am trying to redirect all traffic from [URL].... to [URL].... while maintaining access to [URL]....

[Code]....

View 2 Replies View Related

Ubuntu Servers :: Apache2 Virtual Host Appears To Redirect Url ?

Jun 4, 2010

My goal is a testing server with an apache virtual host for each site that I'm working on, with fairly painless setup for each new job.For example, I want http://site-a.mydomain to server this document root /home/client-a/site-a/public_html (or something to that effect)Ideally, DNS will use a wildcard to point http://anything-i-type.mydomain to the testing server, and apache will have a dynamic virtual host definition that will do a little magic so that I won't have to mess with DNS records or add a new virtual host each time I add a new site for a client. I'll worry about that when I get there, just put that out there in case anyone has any tips! for now I just have one little problem that's hurting my mood-

It looks like I've got my DNS server working just fine, so yay there- BUT my first attempt at adding a virtual host isn't working quite how I expected- meaning that site-a.mydomain now serves up the correct document root, but when you put http://site-a.mydomain into the browser's address bar, the address bar is then updated to http://10.0.1.100/site-a/public_html - bogus!! I must be missing an option like "FunnyBusiness Off" -

root@ubuntuvm:/etc/apache2/sites-available# vim client-a.mydomain
<VirtualHost *:80>
UseCanonicalName Off
ServerName site-a.mydomain
DocumentRoot /home/client-a/site-a/public_html
</VirtualHost>2

View 2 Replies View Related

Ubuntu Servers :: Correct Permission Handling Apache Virtual Hosts In Home Folder?

May 2, 2010

i use virtual hosts to develop several web applications. These are located in my home folder under /home/user/projects/project After a fresh installation, i always get a 403 forbidden error. After googling and reading on this forum, several solutions are mentioned for this problem. But i can hardly believe putting using a chmod 755 on my home folder is a correct solution. What is the correct way of doing things in this situation?

View 5 Replies View Related

Server :: Apache Virtual Host To Limit The Concurrent Connections Of Virtual Hosts?

Jul 3, 2009

apache virtual host to limit the concurrent connections of virtual hosts? Taking into account the host of each virtual user's home directory can also have more than one subdirectory, which should be restricted to a subdirectory. Is beyond the control of the operation of these sites in a subdirectory. Best local restrictions or limitations to the overall situation.

View 1 Replies View Related

Server :: Debian Lenny - All Virtual Hosts Lead To First Virtual Host

Apr 21, 2010

I'm having an issue with setting up the virtual hosts on my web server. I have 2 virtual hosts (example1.com, example2.com). example1.com works but example2.com is sent to the index file of example1.com. I did some searching on google and it seems the problem might be with my /etc/hosts file.

First virtual host that the second is also directed to...in sites-available/sites-enabled (note port 80 is blocked by my isp so I use 8080)

Code:

Second virtual host file

Code:

And my hosts file

Code:

# The following lines are desirable for IPv6 capable hosts

Also I'm using a dyndns.org...would that make a difference?

View 2 Replies View Related

Ubuntu Servers :: Adding Foreign Key Using MySQL Administrator Fails / Fix It?

Aug 27, 2010

I want to setup my MySQL database and have MySQL up and running. I sill look for a good editor to add and configure my tables, it appears that MySQL Administrator is the only GUI client available.
But when I try to add a foreign key to one of my tables, there appears to be a problem. Both of my tables are InnoDB and both have a primary key.
-First I choose the tab "Foreign Keys" on my CLIENT table.
-Then I press the green + sign to add a foreign key, it is default named new_fk_constraint.
-I choose my table USER in the Refer.Table dropdownbox
-And then I should be able to match the FK field and the PK field in the box on the right... but this box is empty. Double clicking shows nothing. I only can drag the user_id of the USER table to it, but have no option to select the foreign column.
What the hell is wrong here??? This client is years old and should be really REALLY working IMHO! I was told by a friend that there is no good client available and therefore he is using some Windows program for this...

View 3 Replies View Related

Server :: Cannot Access Other Virtual Hosts On Ubuntu

May 19, 2011

I have been searching and reconfiguring for 6 days now and have lost several clumps of hair.. PROBLEM: I want 2+ virtual hosts on my ubuntu server (1 ip) BUT - Only the first "alphabetically" listed sites-enabled shows.

000-default
[URL]

Individually they all work (if i a2dissite for each leaving 1)

[Code]....

it seems i have tried everything that everyone else is having issues with but nothing seems to fix mine. Possibilities:

1) EC2
2) Permissions on the files - I changed everything to the apache2 user "www-data" - no dice.
3) I am a dope...lets hope its that and one of you kind people point me to my issue.

View 4 Replies View Related

Ubuntu :: Virtual Hosts After Upgrade To 10.04 Beta

Apr 1, 2010

Ever since I upgraded from Ubuntu 9.10 to 10.04 beta, my local .php urls are acting funny esp at virtual hosts. Sometimes it works, but mostly it gives a blank page and at other times it asks for downloading the php file. This is really random - I keep hitting F5 and any one of the above can occur. Worst part is, its not consistent. It doesnt happen for custom scripts at localhost. Mainly WordPress and Magento. Im guessing something to do with htaccess directives. Its like as if AddHandler / SetHandler is going on and off.

Code:
$ apache2ctl -l
Compiled in modules:
core.c
mod_log_config.c

[Code]...

View 2 Replies View Related

Server :: Apache Virtual Hosts - Ubuntu Desktop?

Jul 15, 2011

I have just setup two Apache virtual hosts and I was wondering how I could link them to different domains so that they could be accessed from another machine.

View 7 Replies View Related

SUSE :: Webmin Virtual Hosts Not Working?

May 8, 2010

I'm running vanilla SuSE 11.1 on a vanilla server with Webmin 1.51 and Apache 2.2.

For a month now, I've been trying to get virtual hosts to work with Webmin without success. When I browse for the second site, I continually come up with the default host site.

just forget Webmin and modify the httpd.conf file directly. That defeats the purpose of trying to use Webmin.

View 9 Replies View Related

General :: Eth0 Not Working But Virtual Hosts Are?

Apr 20, 2010

Some time throughout the night last night eth0 stopped working entirely, I could not resolve dns or any thing. Oddly though eth0:1 and eth0:2 worked perfectly with a ping -c 10 -I eth0:2 xxx.xxx.xxx.xxx but still could not resolve domain names. My nameservers are good as i have tested them on my other machine. My setup had been working fine for quitte some time and i did not make any changes besides updating webpages, it is a server running Debian Lenny. Unfortunatly since eth0:1 was working for the most part i was trying to change the IP's in the config and accidentally killed the settings using webmin so I cant post to many details at the moment until my host for the dedicated gets my /etc/network/interfaces restored but in the meantime i have searched all over google to try to find an answer to the original problem but cannot so i would like to prepared for when the server is accessible again.

View 2 Replies View Related

Server :: Apache Virtual Hosts With IP Address?

Jul 2, 2010

What is the (officially) proper way to configure Apache so that a given IP address can have two or more virtual host names, each going to different distinct configurations (e.g. with different DocumentRoot, Alias, etc), and also do this for the IP address so that it goes to a designated configuration rather than defaulting to the first or a random host name?

Apache documentation does not appear to address this. If so, it has it hidden in a non-obvious place.

View 7 Replies View Related

Server :: .htaccess And Name Based Virtual Hosts?

Apr 12, 2011

I have a CentOS 5.5 Server and I'm hosting 3 different Name-based Virtual Hosts. Using Joomla 1.5 for the site. Each VHost has it's own subdirectory under /var/www so I have .var/www/vhost1, /var/www/vhost2 etc.

The Code in my httpd.conf for each vhost is : -

# Virtual host vhost1.site.com
<VirtualHost 192.168.0.203:80>
DocumentRoot /var/www/vhost1
ServerName vhost1.site.com
ServerPath vhost1/

[Code]...

It works perfectly, but I'm getting a lot of unwelcome spiders and bad bots trawling for MP3 files because there are a few MP3 files on one the sites. I've added all the Bad Bots to my .htaccess file and now I need to know if I should make only ONE .htaccess and put it under /var/www OR create a different .htaccess file for each vhost (this would be an ideal solution, but I'm not sure if it can be done).

View 2 Replies View Related

Server :: Send Mail From Different Virtual Hosts On One Ip?

Jan 15, 2010

Ok I have 5 virtual hosts on one IP but only 1 domain (forwardconference.org) will be sending emails out to people....confirmations and such. The other sites may send out some emails...like back to my personal email address not hosted on this server. That works. But to people on like aol or yahoo or hotmail....it doesnt

Problem is, most people are not getting the emails. Mailq reports them being deffered for some reason. I'm having our ISP setup a PTR to forwardconference.org....does this mean all my emails from either of the sites....even if I put a different FROM: address in the php mail script...will come from [URL]? Or should I just setup my server as its own SMTP server?

View 3 Replies View Related







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