Server :: Setup Subdomains On Ubuntu?

Jan 20, 2010

I have set up a dedicated server running Ubuntu Server Edition. I have apache2 installed and running great. I wish to let friends and family host their individiual websites on it, but I'm running into a bit of a dillema. It seems that my server automatically redirects them to my home page and not theirs.

[code].....

View 4 Replies


ADVERTISEMENT

Server :: DNS Fail: Can't Resolve Subdomains, Server Giving Wrong Response?

Jul 13, 2010

I've got a DNS problem I cannot figure out. I've been digging and pinging all day and I've waited for caches to expire and I'm not having much luck.From my desktop mac, I can't seem to resolve mail.port-o-call.net:

Code:
My-Mac:~ sneakyimp$ ping mail.port-o-call.net
ping: cannot resolve mail.port-o-call.net: Unknown host

[code]....

View 4 Replies View Related

Server :: External Machines Can See SOME Subdomains But Not All?

Sep 16, 2010

I have a DNS server on my LAN at 192.168.140.25. Going by the example in the O'Reilly DNS and BIND book I bought, I set up the domain movie.edu and [URL]. To my great surprise and delight, I can access toystory.movie.edu in a browser from another PC on the LAN (as long as I add 192.168.140.25 to the DNS servers). Encouraged by this victory, I decided to try to set up another subdomain at [URL].

This kind of worked but not completely. Interestingly, I can get to both [URL] and [URL] on my server, but on my PC, I can only get to [URL] not [URL]. Here is my db.movie.edu:

Code:

$TTL 3h
movie.edu. IN SOA toystory.movie.edu. al.movie.edu. (
1 ; Serial
3h ; Refresh after 3 hours

[code]....

View 1 Replies View Related

Server :: Hosting Multiple Subdomains On 1 Dynamic IP?

May 16, 2009

I run my own DNS servers and host my own domains. I'd like to host a few subdomains of one of my domains on a server with a dynamic IP. Is there a way to do this? I *believe* that I can host one subdomain by using a CNAME record and a dynamic DNS service.

[code]....

How can I host more than one subdomain on a server with a dynamic IP address?

View 2 Replies View Related

Server :: Configure Name Based Severs And Subdomains?

Dec 12, 2010

When I first encountered this problem, I though it would be a simple solution, but i must just be missing something obvious.i have a few name based hosts configured in apache.when i go to "www.adomainname.com" i get the first website on this list, not "adomainname.com", as i would like. Does anyone have any ideas on how to fix this?here is the relevant part of my config files:

Code:
<VirtualHost *:80>
DocumentRoot "/var/www/httest"

[code]....

View 4 Replies View Related

Server :: Apache Virtualserver To Forward All Mail - Subdomains?

May 8, 2011

I want to setup a mail virtualserver in apache so that a mail. subdomain whats pointed to the box will automatically goto my roundcube install. i have all of the document root stuff working, however, mail.* doesnt work for a server name.

View 1 Replies View Related

Server :: Unable To Setup A NIS Server Setup On CentOS System

Jan 19, 2010

We are trying to set up a NIS server on a CentOS system. We need to have a NIS server which can provide NIS authentication to a couple of clients. We are practically new to all this stuff.

Just googled to find some ideas about installing ypserv and ypbind and portmapper. We did all that and also started them successfully. But now the clients are not able to join to the NIS domain . The error log states "YP_DOMAIN NOT BOUND".

I guess we have not entered the /etc/yp.conf, /etc/hosts files properly. Please let us know the detailed steps to setup a NIS server .

Also, please let us know what entries should go into the different /etc/<file_names>? What is meant by HOSTNAME in the /etc/hosts file?

Is there any other files which need to be changed? Are we missing any steps?

Also to add-on, while executing the ypinit command we faced the following error:

At this point, we have to construct a list of the hosts which will run NIS servers. localhost.localdomain is in the list of NIS server hosts. Please cont inue to add the names for the other hosts, one per line. When you are done with the list, type a <control D>. next host to add: localhost.localdomain next host to add:

The current list of NIS servers looks like this:

Is this correct? [y/n: y] y

Error running Makefile.

View 3 Replies View Related

Ubuntu :: Dig - Find Out All Subdomains Of A Domain?

Feb 21, 2010

i was looking for a way to find out all subdomains of a domain and i have found dig.But it doesn't seam to work how i sow in those tutorials.this is what i get:

PHP Code:[code]....

Is there other way that i can find out all subdomains of a domain?

View 1 Replies View Related

Ubuntu :: External Machines Can See Some Subdomains But Not All

Sep 16, 2010

I have a DNS server on my LAN at 192.168.140.25. Going by the example in the O'Reilly DNS and BIND book I bought, I set up the domain movie.edu and toystory.movie.edu. To my great surprise and delight, I can access toystory.movie.edu in a browser from another PC on the LAN (as long as I add 192.168.140.25 to the DNS servers). Encouraged by this victory, I decided to try to set up another subdomain at coupon.movie.edu. This kind of worked but not completely. Interestingly, I can get to both toystory.movie.edu and coupon.movie.edu on my server, but on my PC, I can only get to toystory.movie.edu, not coupon.movie.edu.

Here is my db.movie.edu:
Code:
$TTL 3h
movie.edu. IN SOA toystory.movie.edu. al.movie.edu. (
1 ; Serial
3h ; Refresh after 3 hours
1h ; Retry after 1 hour
1w ; Expire after 1 week
1h ) ; Negative caching TTL of 1 hour

movie.edu. IN NS toystory.movie.edu.
movie.edu. IN NS coupon.movie.edu.
;
; Host addresses
;
localhost.movie.edu. IN A 127.0.0.1
toystory.movie.edu. IN A 192.168.140.25
coupon.movie.edu. IN A 192.168.140.25

And here is my named.conf:
Code:
options {
directory "/etc/bind";
};

zone "movie.edu" in {
type master;
file "db.movie.edu";
};

zone "140.168.192.in-addr.arpa" in {
type master;
file "db.192.168.140";
};

zone "0.0.127.in-addr.arpa" in {
type master;
file "db.127.0.0";
};

zone "." in {
type hint;
file "db.cache";
};

#include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
#include "/etc/bind/named.conf.default-zones";

View 2 Replies View Related

Ubuntu :: Subdomains Point To Localhost?

Mar 31, 2011

I'm doing development on a site, let's call it mysite.com. mysite.com and www.mysite.com works fine, but proxy.mysite.com and dev.mysite.com point to the LAMP stack running on my computer. Pinging mysite.com gives me:

Code:
64 bytes from server.myhost.com (64.64.0.102): icmp_req=1 ttl=47 time=47.4 ms
Whereas dev.mysite.com gives me:
Code:
64 bytes from localhost.localdomain (127.0.0.1): icmp_req=1 ttl=64 time=0.031 ms
Subdomains of any other site work fine. I am absolutely baffled. What in the world could be causing this? I haven't been messing around in /etc/hosts or anything like that.

View 3 Replies View Related

Debian :: Ubuntu Local Mirror Setup For FAI Server Setup?

Apr 24, 2011

I want to setup a FAI server for which I was looking for the best method of mirroring the Debian Lenny. I want to setup a local mirror with the best method available for mirroring. If it is ftpsync, please provide me some best ways of doing it. I tried ftpsync mirroring but that was not getting properly working due to insufficient I want this mirror to be accessible in my FAI setup so that I can start the installation on multiple machines and start the updates and package installation to be done from the same local mirror.

View 1 Replies View Related

Ubuntu :: Is The /etc/hosts File Related To Subdomains

Feb 16, 2010

I am trying to add subdomains on ubuntu 9.10 desktop edition and and I am not sure whether I need to add some info.(such as 127.0.0.1 sub1.example.com and so on) to the /etc/hosts file like the windows' windows/system32/drivers/etc/hosts file. I used to use the wamp-server(on Windows 7), I needed to edit 3 files, httpd.conf, httpd-vhosts.conf and hosts. And almost every edit is made in the httpd-vhosts.conf file on wamp-serveriles should be edited? or what else should be done that I didn't mention?

View 1 Replies View Related

Ubuntu :: DNS SRV Records - Subdomains Work On IP Address?

Apr 11, 2011

I am quite interested in one thing. I am trying to code my dns server that when I connect to one of my subdomains it connects not only to an ip address but to an ip : port address. For this I tried using SRV record, but with lack of success.

Dns server specification:
OS Ubuntu server 10.10 and using bind9
I have configured everything so that my subdomains work on an ip address, but I need some of them to work on ip : port too. In my brfconcept.lv.db file i used: (what I mentioned below isn't the full content of the file)

Code:
_http._udp IN SRV 0 5 27017 testing.brfconcept.lv
testing IN A 83.99.211.134
in my rev.0.168.192.in-addr.arpa i used: (what I mentioned below isn't the full content of the file)
Code:
134 IN PTR testing.brfconcept.lv

What I would want is not just for 1 service to aim at at the 27017 port but all services if its possible, when you enter testing.brfconcept.lv Is that possible and what am I doing wrong?

View 8 Replies View Related

Networking :: Subdomains Behind Single IP?

May 4, 2009

Here is my network setup:

Internet <-> [public IP] Router [192.168.x.x] <-> Local
Local <-> DMZ
Local <-> HostB
Local <-> HostC

I have a system set up as a DMZ which works great for accessing SSH and other various services. I have a dyndns account that points to my public IP and allows me to access my DMZ box from around the world. I would like to make a subdomain of my current dyndns account and point it to HostB so that it can host a webserver on it, and have another subdomain point to HostC with a separate webserver on it. each would have SSH, FTP, Etc and have to not conflict with one another behind one IP. I don't even know if it is possible, but it seems like if there is a request for dev.host.homelinux.com that packet would have to hit [URL]and could be iptable'd to be routed to the appropriate local machine somehow.

View 2 Replies View Related

Ubuntu Networking :: Cannot Load Subdomains Ending With Underline?

Feb 10, 2011

I work as webdeveloper and I and my co-workers have one rule - if we are done with any project, we comment them with underline at the end of the directory name. For example we have domain 'devel.domain.com' and our projects are located on projectname.devel.domain.com' . Commented project looks like thisAnd here is the problem. I can not acces subdomains ended with underline. It works last time in 9.10 (i think), but since 10.04 gives me the browser only SERVER NOT FOUND. We are using this comment-method for 7 years without problems. Why is this problem in last two editions of Ubuntu?note: there is no problem with accessing ended projects under windows or osx.

View 2 Replies View Related

Debian :: Create SubDomains Using Terminal?

Aug 18, 2011

I am not using cpanel or anything, just SSH PuTTY client. my domain is [URL]now I want to craete a sub domain i.e [URL] , how will I create this ? so I can upload files to the sub domain

View 1 Replies View Related

General :: Fedora13- Add Subdomains And Add Users To Them?

Oct 20, 2010

just wanted to know how to add subdomains, how to add users to those subdomains to send and receive mail in fedora 13.

View 3 Replies View Related

General :: Setup A SMS Server, Appropriate Distribution To Setup A SMS Server?

Oct 22, 2010

How to setup a SMS server using Linux, also want to know the appropriate Linux distribution to setup a SMS server.

View 2 Replies View Related

Ubuntu Servers :: Enable DNS To Manage Subdomains On Main Host?

Feb 12, 2011

I have a server with multiple domains and a DNS service (bind9) my main domain is registered with GoDaddy and it's A-record points to my server, it then has CNAME records with ns1 and ns2. I use ns1 and ns2 to point my other domains to the DNS server I host, which then manages what happens.

Anyway, what I would like to do is enable the DNS server to manage the subdomains on my main host. For example, if the domain was example.com and I use admin.example.com in the DNS server, it will not follow through unless I set the cname up, whereas my others will. How do I do a similar thing for my main domain.

View 2 Replies View Related

Fedora Servers :: Automatic Subdomains On Local Dev Machine

Jul 28, 2011

I have working localhost on my Fedora 15. Directory tree look like this

Code:

/var/www/html/default
/var/www/html/projects
/projects/foo
/projects/bar

[code]....

View 2 Replies View Related

Server :: Setup Master / Master Mysql In HA Setup Without Use Of Load Balancer Provided By Host?

Mar 31, 2010

I have a load balancer with 2 web servers behind it. The web servers rsync with cloud storage to update their apache directories 1 time every hour. Apache is just running php pages that pull/push data to a DB so they dont need to be updated that often. However I need to figure out how to implement a Master/Master MySQL setup to have my web servers point to for the PHP stuff. I need to implement it without having a single point of failure. The Load balancers are useless for failover as they only detect availability based on Ping request. So putting a master/master setup behind a Load Balancer is out. what is the best way to setup the master/master mysql in a HA setup without the use of a load balancer provided by the host?

View 2 Replies View Related

Server :: Setup RAID 1 On CentOS 5 Server For A Zimbra Email Server

Feb 7, 2011

I'm trying to setup RAID 1 on a CentOS 5 server for a zimbra email server.I get a partion schema error. Can I do this?The server is a HP Proliant ML150 G3 server with two 80GB HDD.

View 1 Replies View Related

Ubuntu :: Web Server - Setup Model And Need To Give Computer Some Capability To Act As A Server

May 19, 2010

I want to set up moodle and need to give my computer some capability to act as a server. I am following the steps at [URL] although my question is not really related to moodle. Here is the problem: setting everything up to make my computer accessible from outside has worked so far. I got myself a static IP address using a dynamic dns server and can ssh into my computer from any other computer connected to the www. So,

[Code]....

View 3 Replies View Related

General :: Setup Dedicated Server Using Ubuntu Server Or Equivalent Opensource OS?

Jan 16, 2010

How to setup Dedicated Server for Web Hosting using Ubuntu Server or equivalent opensource Operating System? And how to make secured my Dedicated Server on public?

View 1 Replies View Related

Server :: Server Setup Using Ubuntu For SSH Account Hosting For Socks Proxy?

Mar 21, 2010

I have a few friends that have seen me bypass firewalls with a socks proxy (SSH). I explained on how it works and how secure it is for browsing the Internet and checking your email in public places. I had at least 6 asked me if I could set up an account on my server for them and they would pay me! Now what I wanted to know was how I can set this up in a server and website where they can register an account and pay me through PayPal! I don't need help setting up the site! Just on how to set up the server to automate this. What tools are needed (ex. ISPConfig, jailkit.... stuff like that?) I don't mind doing this manually but if I get more people that would like this I don't really want to do every single one.

View 1 Replies View Related

Ubuntu Servers :: Setup A Dedicated Web Server With Server 10.10 ?

Nov 24, 2010

After installation Ubuntu Server 10.10 I don't know what to do next to access to the Internet.

View 9 Replies View Related

Ubuntu Networking :: Setup A Server 10.04 Lts As File Server?

Apr 3, 2011

I set up a ubuntu server 10.04 lts as file server in a network filled with xp, win 2003 and win 2008.

I noticed that if from any bill's SO machine i copy a file (for example a vob file of 1gb, or a lot of doc and pdf files) in the samba server, while the copy is in progress if in another windows I browse other folders shared in Samba, the copy process stops and say ' the name in the network is no more available( or something like this). It seems that samba pay attention on the fact that a user is browsing the share and doing so it seems that Samba forget that in one of its share there was a copy in progress, very annoing. A file server cannot do that, in this way is useless.

View 1 Replies View Related

Server :: Setup An Ssh Server That Doesn't Require A Username,password Or Cert To Login?

Jun 22, 2010

Is it possible to somehow setup an ssh server that doesn't require a username,password or cert to login?I wish to provide shell access to a console program, which will prompt for a username and password.Encryption is essential though, and users must not be able to snoop in on each other

View 9 Replies View Related

Programming :: Java Servlets: Setup The Server Side Configuration On Fedora Web Server?

Jan 4, 2010

If you hadn't guessed it from my last 3000(ish) java-related posts, I'm a Java n00b writing a Java Applet for a work project. I got to the part was I was about to write the applet code that would send HTTP requests to my CGI scripts. But I read some paragraphs in a book praising Java servlets as better that CGI because they are easier to use and give much better performance server side. My server load isn't very big, though, and I was wondering if it would be worth taking the time to learn about Java servlets and how to set up the server side configuration on my Fedora web server.

View 3 Replies View Related

OpenSUSE :: FIrewall Setup / Client Computer Cannot See NFS Server When Scanning For Server - OSE 11.2?

Apr 21, 2010

I have a small home-office network. On that network I have two linux computers, one is a client the other a server.

On the server I have NFS Server setup and mount some NFS exports on the client computer.

On the server I have the firewall on and here it becomes a little tricky.

Since both the server and the client connect to the router the interface (eth1) is theoretically both an internal & external zone.

The router is commercial grade and therefore has a good firewall on it which is also setup. Therefore the firewall on the server is really more of a backup than a necessity. But that's fine, and by having the server's firewall on 'fail2ban' is able to work which I like to have working so I don't want to just turn off the server firewall even though I have good security from the router.

However, when I turn on the server's firewall, the client computer cannot see the NFS server when scanning for server -- done by: clicking on "Choose" next to "NFS Server Hostname" when adding an NFS share in the NFS Client in YaST. Clearly something is being blocked even though I have both "NFS Client" and "NFS Server Service" allowed in the server firewall. The Firewall config. files for these are below.

The Firewall configuration is pretty much "out of the box". That is I have the services I need opened up for the external zone, the other zones are left at their default which means the internal zone, although not used (i.e.: attached to any interface), is completely open.

The perfect solution I guess would be to setup my client computer to connect through a different NIC (perhaps eth0), make that the "Internal Zone" and therefore allow all traffic through to it while still blocking the server from the external zone. However, I cannot make that physical change to my network for now so I am looking for an in between (non-perfect) solution.

In this case I am guessing that means opening up extra NFS ports to the external zone so I have full NFS functionality. I don't mind this because like I said, the router firewall is the main line of defense anyway.

So, given all of the above could someone tell me what I would need to additionally open up in the server firewall to make the NFS server detection work on the client while the firewall was on. Or, if you have a cleverer/better solution without me changing my physical network that would be great.

Hopefully I have written this in enough detail and clearly enough so that all the parameters are clear but if not, feel free to ask me what you like and I'll try to make it clear.

Code:
## Description: Firewall Configuration for NFS kernel server.
#
# Only the variables TCP, UDP, RPC, IP and BROADCAST are allowed.
# More may be supported in the future.
code....

View 6 Replies View Related







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