LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-22-2017, 12:27 AM   #1
crltzn
LQ Newbie
 
Registered: Sep 2015
Posts: 9

Rep: Reputation: Disabled
redirect one php file to different domain.


Hi all,

I am new on lighttpd, i would like to ask on how to redirect one php file to different domain.

this is what i want. when i access

www.domain.com/test.php it will point to www.domain2.com

URL is www.domain2.com which directs to: www.domain.com/test.php

thanks in advance
 
Old 06-22-2017, 01:26 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,237
Blog Entries: 10

Rep: Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160
it seems you aren't the first asking this question.

also read documentation. native docs probably work well, but why not archwiki.

if you still have a problem after that, please provide more detail.
what have you tried etc.
 
  


Reply

Tags
lighttpd


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
[SOLVED] Redirect URL between php/html and static files on same domain rocklee44 Linux - Server 6 10-06-2015 09:48 PM
apache redirect from new to old domain server, but browser visible old domain name hocheetiong Linux - Server 1 05-19-2013 04:28 PM
[SOLVED] Creating 301 Permanent Redirect to a domain with same docroot as old domain. MarkToronto Linux - Newbie 1 05-15-2013 03:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:45 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
Open Source Consulting | Domain Registration