/    Sign up×
Community /Pin to ProfileBookmark

Domain aliasing in different variations

Hello!
I have googled like crazy on this topic but never seem to find any good results. (lots of solutions, but none that exactly does what I want). What I want is the following two scenarios:

sub1.domain.com, sub2.domain.com and sub3.domain.com should be aliases of sub.domain.com. I don’t want a redirect, I want people that visit sub1.domain.com to believe they are at sub1, when they in fact is at sub. I cannot touch the apache conf of my host, but I can set DNS records and of course, use mod_rewrite. However, I have not yet managed to find any solution.

My second scenario is that I want:
sub.anotherdomain.com to be an alias of sub.yetanotherdomain.com. So if you visit sub.anotherdomain.com, you see the same as when visiting sub.yetanotherdomain.com. Here I still can only access the DNS records and the mod_rewrite. Worth noting is that sub.yetanotherdomain.com is supposed to point to a WebDAV directory.

I would be very thankful for any ideas what to do. It feels like the solution should be easy enough, but I just can’t get it to work.

Thanks,
RipperDoc

to post a comment
Web Hosting

1 Comments(s)

Copy linkTweet thisAlerts:
@David_HarrisonMar 21.2006 — My host allows me to mirror the content on one domain from another, all it takes is a few clicks and key presses in the control panel.

Perhaps your host offers something similar. Here's a screen-shot of what it looks like in my control panel, though it will almost certainly be different in your control panel (assuming that it's there).

I can mirror domains from a sub-domain or sub-domains from a domain, or any other combination, the only requirement is that the domain I'm mirroring is on the same hosting plan.

[upl-file uuid=b70593ba-45e1-4702-8b93-6a17e807f593 size=52kB]manage_domain.png[/upl-file]
×

Success!

Help @RipperDoc spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...