Simple redirect Question I Am Being Stupid About (parked domain -> parent domain)

PCZero

Well-Known Member
Dec 13, 2003
774
103
193
Earth
OK I am having a senior moment here. I need to do something very basic and cannot get it right.

domain.com is the domain that is set up for userX. Web site is fully functional and running just fine!

I want to park domain.net on domain.com and have it redirect so that all request for domain.net/* go to domain.com/* without getting into a redirect loop.

Yeah I know I know, but it has been a long day of coding and I am beyonfd confused at this point.

Thanks!
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,983
159
368
SLC
cPanel Access Level
DataCenter Provider
Just go to alias manage redirection

Or if what to do it old fashion way add 301 redirect via your .htaccess (same thing as above ) :)
 
  • Like
Reactions: PCZero

PCZero

Well-Known Member
Dec 13, 2003
774
103
193
Earth
Thank you dalem. I knew it was somewhere easy as wet dirt but as I said long day and totally friend brain cells at this point. Again much appreciated.
 
  • Like
Reactions: cPanelLauren

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
I want to park domain.net on domain.com and have it redirect so that all request for domain.net/* go to domain.com/* without getting into a redirect loop.
But once you park domain.net on domain.com you shouldn't need to do any further redirection for it so I'm confused why you would even need redirect anything beyond parking it. Parking a domain on another domain essentially makes the domain you're parking an alias for the domain you're parking it on.

Was there a part of this that wasn't working @PCZero ?
 

PCZero

Well-Known Member
Dec 13, 2003
774
103
193
Earth
Let me explain

I want it so that when a visitor types in the following URLs, the actual URL they get and is DISPLAYED IN THE ADDRESS BAR is as follows...

Type in
mydomain.com --OR-- mydomain.net (Any flavor of mydomain.com or mydomain.net, with or without the www / with using http or https)

Go to and DISPLAYED IN THE ADDRESS BAR

in addition I want a subdirectory under m.mydomain.com set up so that if a user...

Types in
m.mydomain.com --OR-- m.mydomain.net (Any flavor of mydomain.com or mydomain.net, with or without the www / with using http or https)
Go to and DISPLAYED IN THE ADDRESS BAR



I do not simply want the desird content displayed. I want the adress bar to be dispaleyd as desired.
 

PCZero

Well-Known Member
Dec 13, 2003
774
103
193
Earth
I have no idea in hell how that spam ad got in my last post. It will not let me delete it sorry