CentOS 5 Networking :: Binding Domain Names To A Folder Below The Web Root?
Sep 1, 2010
I have a centOS 5 server running apache 2 with it's web root at /var/www/html. By setting up a dns entry to point to the computer's IP, I was able to go to testing.myservername.com and reach the contents of that directory.My question is, how can I go about mapping multiple future domain names to folders that are under this webroot?For example how would i bind www.temporarydomain.com to the /var/www/html/temporarydomain/ folder and also be able to map www.anotherdomain.com to /var/www/html/anotherdomain/?
View 1 Replies
ADVERTISEMENT
Mar 23, 2011
dammit... all that typing and I hit the wrong "submit" button. *sigh*
Ok, I have a couple of SMTP servers for our infrastructure. They are running Postfix. I have them configured so that specific email addresses such as support@mydomain.com and billing@mydomain.com all go to a new support server that I am building with osTicket. Lets call that server SUPP1.
SUPP1 runs sendmail from the default install of CentOS 5 i386. At this point everything runs great. New emails get added into the osTicket system via a pipe in sendmail. Here's where the problem comes in. In order to accept mail, sendmail has to have the domain listed in local-host-names and the addresses in virtusertable. That works just dandy. But in doing so, sendmail believes it is the destination SMTP server for "mydomain.com". That means that I can't send mail from that server back into my normal SMTP servers. So things like the LogWatch, cron jobs, etc can't send notifications. Is there a way to work around that? For sendmail to ignore local-host-names for outbound email or something?
View 1 Replies
View Related
Dec 19, 2009
Is it possible to have one static IP address with a NAT network forwarding each domain name to certain internal/DMZ IP addresses? I know you can do it by port but if both websites are on port 80 can you forward to the corresponding server on the dmz.I ask this because I noticed the website braemere.com.au had to be typed into a web browser and entering the IP which is 202.47.5.7 did not take me to the website.
View 5 Replies
View Related
Jun 15, 2010
Since two days i m not able to browse websites using the domain names but able to ping/browse using IP addressed. I have done the following:
1. Using wireless i m able to get IP address of DNS (8.8.8., Gateway, localhost & router ip address
2. Disabled wireless and connected ETH0 but still the same problem
3. not able to edit resolv.conf
sudo gedit resolv.conf
** (gedit:4179): WARNING **: Hit unhandled case 0 (Error opening file: Input/output error) in parse_error.
[code].....
View 4 Replies
View Related
Mar 19, 2009
I recently installed bind9 on mandriva 2008.1, after having done the necessary configuration.. I still can't find my domain I configured cant ping on other machines on the LAN but can actually ping on any other website on the internet even though name server is configured to point to local machine..... I dont understand what I'm doing wrong.
View 14 Replies
View Related
Feb 16, 2011
i have registered two domain names that i want to use to connect to my ubuntu server. I was wondering how to do this i was looking at bind9 but that didn't work that great. The server is behind a router with firewall i can connect to it using the external IP address but i like to use the two domain names if that is possible.
View 3 Replies
View Related
May 10, 2009
I want to use single label host names on my local LAN, without using any domain (at least no registered one). My machines should be named in a fashion similar to 'myserver', 'mydesktop' etc. so that i from a browser on any LAN machine may write 'http://myserver', and get the webserver on 'myserver' (so NO domain part, e.g. myserver.domain).
Do i need to create a DNS zone for each host or is there a way to put all host in a single zone, if so; which? Would such a name be considered a root domain?
View 4 Replies
View Related
Aug 16, 2010
Howto exclude IP address from caching in /etc/squid/squid.conf of squid 2?
For a domain, I can use:
Code:
acl excl dstdomain domain.net
always_direct allow excl
no_cache deny excl
but howto exclude IP addresses instaed of domain names?
View 2 Replies
View Related
Dec 2, 2010
I have an internal domain (dev.lan) for which my Ubuntu server is authoritative. We have a number of subdomains under that domain (test.dev.lan, svn.dev.lan, etc.). The server also acts as the primary DNS server for my office. It was originally set up under Ubuntu 8 and worked great.
However, ever since we upgraded to Ubuntu 10, our Windows clients periodically lose the ability to resolve domains on the dev.lan domain. Internal IP addresses can still be pinged from the Windows machines so it does not appear to be a network-connectivity issue. External domain names continue to resolve without any problems. The only workaround is to restart networking on the Windows clients. It's frustrating because it happens several times a day.
bind9 logs no obvious error messages.
View 3 Replies
View Related
Oct 8, 2009
I have to rename a group of machines in my little samba domain (tbd backend) but there is an ugly bug that makes this impossible. have set 'rename user script' variable corectly, also checked all configurations.When i change computer name in my windows box, it shows an error saying something like "Error calling remote procedure"Looking on server side, username for the machine gets correctly changed in /usr/passwd, and also in samba database.But samba log says:
===============================================================
[2009/10/08 11:10:32, 0] lib/fault.c:fault_report(42)
INTERNAL ERROR: Signal 11 in pid 11052 (3.0.33-3.7.el5_3.1)
[code]....
View 3 Replies
View Related
Jun 10, 2010
Regarding domain names for LDAP root, you should use something like dc = domain, dc = country eg ar, cl, is br. or better use some other domain?That is, suppose the root domain is dominio.es Is it advisable to do so? I ask because I have seen many implementations (especially Microsoft AD), which states rather dominio.local or dominio.int.
View 1 Replies
View Related
Mar 31, 2010
Is it possible to bind a USB drive formatted in NTFS to a specific folder so when i open that folder i see the contents of the drive?
View 12 Replies
View Related
Feb 4, 2010
Does anyone know a good program to use for comparing folder names from 2 different directories? The reason being that at work we have a shared area with 2 folders one named REC (records) the other named WIP (work in progress) within these 2 folders there are 100s of subfolders. The folder names in wip and rec both need to mirror each other but the files are different within the folders. The problem we're having at the moment is people are creating new folders with out letting me know which means the folder names are no longer mirroring each other. I need to know if there is a utilty available to compare just folder names so that we can get a list of folders which have been created without our knowledge and we can ask the originators to remove them.
View 4 Replies
View Related
Feb 4, 2010
In the linux machine we need to mount a folder names sever under apps folder with the user as steve. Also the steve user should have the permission to create the files in the folder. As of now, its mounted as root user.steve is in list of sudo users.
View 4 Replies
View Related
Aug 17, 2009
I want to give Administrator privileges to Root user in Linux Domain Controller
View 12 Replies
View Related
Dec 28, 2009
I'm going to be setting up my own server soon, but have some questions...
Where do you guys recommend I get a domain name from?
I have looked at GoDaddy for now. Any suggestions?
View 14 Replies
View Related
Jan 10, 2011
I have a list of urls like code...
How can I use grep to match the domain names only?
All the urls have a / after the domain. And there are a lot of tlds, not sure how many, the list is quite big.
View 3 Replies
View Related
Dec 13, 2010
So I'm looking to host potentialy three different...sites...I want to call them from the same machine. One is a radio station and the other 2 are just straight websites. So I wanted to know if I had to use different machines to accomplish this or can I alter maybe the http conf file or what. I did find this in the forums but wasn't quite sure if this applied to me. [URL="http://www.linuxquestions.org/questions/linux-software-2/serving-multiple-domain-websites-on-one-server-329914/"http://www.linuxquestions.org/questions/linux-software-2/serving-multiple-domain-websites-on-one-server-329914/[/URL]
View 1 Replies
View Related
Oct 25, 2010
I have spent lots of time trying to figure out how to parse the domain part of this file but am stuck.
How should this be approached:
Code:
Code:
The domains need to be parse at a maximum for 4 levels then the remainder will be put the last field.
View 3 Replies
View Related
Apr 16, 2010
I'm new here, so please be gentle! I recently installed F12 64 KDE on my Acer Aspire 1810TZ, could connect to the WLAN router but neither the native Konquerer nor Firefox could open any pages...
resolve.conf has the DNS according to DHCP offer, from command line dig properly resolves the name, ping (e.g. google) works, telnet to domain-name on port 80 works, GET too. When using the browser with the domain-name I tells me "Server not found", tcpdump doesn't display any activity. But when I manually change the domain-name with the IP (received by command line dig) then the browser has no problem how do browsers interact with the network resources of the OS?
View 4 Replies
View Related
Aug 5, 2010
I'm using Ubuntu 10.4 box with Apache2 web server. I have a site with several Domain Names. How do I set up tracking?
View 1 Replies
View Related
Jun 9, 2011
For clairification, I can ping. I have tried several IP addresses and 100% success rate. When I noticed the problem I was trying to run sudo apt-get update && apt-get upgrade After some time I noticed these error messages to start with
[Code]
I tried to ping the adddress security.ubuntu.com from my Windows machine to verify that I could connect and was surprised when I could. I then pinged the address 91.189.92.167 which is what my windows machine resolved the name as and it went though.
My thoughts on this are that when my Ubuntu Router came up, for some reason it did not incorporate the ISP's DHCP servers into the ip address it obtained. Sadly I know to view ALL IP infomation in windows via ipconfig /all command but I do not know what this is in the *nix world. need commands that I can use to check and troubleshoot this apparently DHCP issue so I Can start to update my server and expand on its services?
View 1 Replies
View Related
Aug 10, 2010
Here is my scenario and what I want to try and achieve.
I have:
Quote:
Server A = 192.168.1.5 (serverA.home.com)
Server B = 192.168.1.6 (serverB.home.com)
Currently I have serverA.home.com domain name set up using a free dns service online. When I am anywhere in the world I just type the domain name it hits my static ISP IP via the free dns servers online, hits my home router, gets port forwarded to 192.168.1.5 Server A and I am up and running.
Now...
I have bought a second domain for serverB and want it set up like serverA but I am totally baffled on how I can resolve 2 domain names on a single network? I need (somehow) to try and tell the dns servers that when I enter in serverB.home.com it will hit my static ISP IP as above and then hit my home router but then get directed/split to Server B and not to Server A.
Basically all I want to do is name the machines and get traffic resolved to them.
View 2 Replies
View Related
Oct 21, 2009
Is there a way you can view all domain names hosted on an IP address using dig or whois? Say if a server is using Name Based hosting??
View 5 Replies
View Related
Jul 24, 2010
It seems whenever i create a folder it creates the folder as untitled folder, but i can't change the folder name it just says "you don't have permission to rename item" but yet i created the folder and it is there. One thing i have noticed is that once i enter a folder it won't even let me move the folder.
View 6 Replies
View Related
Jan 7, 2010
I have been logging into a server remotely and trying to set up a mailing list on it. The server is the newest version of ubuntu server: uname -a: Linux Themis 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:48:10 UTC 2009 i686 GNU/Linux.I noticed I could not download packages with apt-get or ping domain names, and I can't even ping 127.0.0.1.And do you think there is something wrong with the network card?
View 9 Replies
View Related
Jan 19, 2010
before i upgrade to karmic i used to visit some local domains like freenas.local.
But after the upgrade the domains doesnt work. I can go to smb://freenas/ but in firefox / chrome or in fstab i cannot use freenas.local ...
View 2 Replies
View Related
Jan 28, 2009
We are in the process for Integration Network with our Government Network.
Let say that our network are 192.168.0.0/24
And the Government network are 10.0.0.0/8
I want to know if the local network can resolve the internet names in Government Network. I am using Bind for DNS.
View 1 Replies
View Related
Mar 11, 2011
I updated to 11.4 today and software manager is having trouble resolving host names. below is the exact error through software manager
Download (curl) error for 'http://download.opensuse.org/distribution/11.4/repo/non-oss/repodata/repomd.xml':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
here are the steps that i have taken already to resolve and troubleshoot the issue.
i can ping Google.
i can browse the Internet
i can browser the repo Index of / through my browser.
i have insured that ipv6 is disabled through network configuration through yast.
View 3 Replies
View Related
Sep 20, 2010
i am having mail server. im using sendmail.but it is not able to send to certain domain names....mails are getting back with the following errors
this is from logs
[code]...
View 14 Replies
View Related