LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-24-2013, 05:59 PM   #1
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 183

Rep: Reputation: 2
redirect in unbound


hello minds,
i want to redirect subdomain to directory
for example i can redirect aaa.com to 172.192.168.1 in this formula

local-zone: "aaa.com" redirect
local-data: "aaa.com A 172.192.168.1"
local-data-ptr: "172.192.168.1 www.aaa.com"

how i can redirect home.aaa.com to 172.192.168.1/home
###
subdomain or directory but not hole ip !
thanks
 
Old 02-25-2013, 11:07 PM   #2
fortran
Member
 
Registered: Nov 2011
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Fedora
Posts: 300
Blog Entries: 2

Rep: Reputation: 51
If you are using apache/php, you can write rewrite rules in .htaccess
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unbound resolving name server incompatible with ftc.gov Skaperen Linux - Networking 7 03-08-2012 01:47 PM
libreoffice.SlackBuild line 100: SOURCEDIR: unbound variable ? mongoosecage Slackware 3 01-16-2012 12:56 PM
packaging unbound -- in the works or planned? timetraveler Slackware 4 10-08-2011 10:08 PM
LXer: Installing And Using The Unbound Name Server On Debian Etch LXer Syndicated Linux News 0 05-29-2008 12:20 PM
unbound PF_PACKET Peterius Programming 0 11-10-2004 12:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration