Jump to content

So this might not fit in this board to 100%, sorry. :|


If I buy a doman, lets say LinusTekkTips.com and I just want it to redirect to a facebook page before a real website is up, do I need a server for that? Or what should I do to get that redirect?

They're sharing a drink they call loneliness, but it's better than drinkin' alone...

BitFenix Prodigy Black / Intel Core i7 3770K / Gigabyte GA-Z77N-WIFI mITX / ASUS GeForce GTX 660Ti DCUII 2GB / Corsair Vengance LP 8GB (2x4096MB) CL9 1600Mhz / Corsair SF600 - 600W  / Corsair H70 Push Pull

Link to comment
https://linustechtips.com/topic/62486-url-redirecting/
Share on other sites

Link to post
Share on other sites

There are many ways to do it, you can use DNS records just log into your domain providers management site (or where you have parked it) and add an "A" record pointing to an IP where you want the domain to go, its simpler than it sounds don't worry. You can also do a web based redirect just add a index.php script into the root (public-html) folder (you need to have hosting already for this to work).

<?phpheader("Location: facebook.com");?>

there is html code that does this as well, i just don't remember it.

Something wrong with your connection ?

Run the damn cable :)

Link to comment
https://linustechtips.com/topic/62486-url-redirecting/#findComment-853679
Share on other sites

Link to post
Share on other sites

There are many ways to do it, you can use DNS records just log into your domain providers management site (or where you have parked it) and add an "A" record pointing to an IP where you want the domain to go, its simpler than it sounds don't worry. You can also do a web based redirect just add a index.php script into the root (public-html) folder (you need to have hosting already for this to work).

<?phpheader("Location: facebook.com");?>

there is html code that does this as well, i just don't remember it.

 

always wanted to try this :) 

 

have you done it personally?

Big Bertha3570k @ 4.5GhzASRock Fatal1ty Z777970 DCUII TOP EVGA GTX 780Swiftech H220 w/ NF-F1216GB RAM128GB Kingston HyperX 3K1TB Western Digital Black40GB Western Digital Raptor 10K PeripheralsMionix 3200 MouseCMStorm Quickfire Rapid w/ Cherry MX Blues2 x Dell U2713HM AudioAsus ROG Orion Pro HeadsetSony XB-500AKG K240Bose AE2i​Fiio E10

Samsung Galaxy S45.0" 1920x1080p Super AMOLED screen16GB Storage2600 mAh battery1.9Ghz quad-core Krait CPU2GB RAMCyanogenMod CameraNikon D310018x55mm NIKKOR VR Lens14.2 MP
Link to comment
https://linustechtips.com/topic/62486-url-redirecting/#findComment-853777
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×