0
votes
0answers
138 views

Apache rewriting sub domain URL with www prefix

My website is rewriting all subdomain links with www. for example news.example.com works fine, but if I go to news.example.com/wp-admin it will rewrite the URL to www.example.com/wp-admin ...
0
votes
1answer
75 views

Nginx second domain rewrite rule

What im trying to do: I have nginx running with wordpress Now i want DOMAIN-2 to redirect to a path of DOMAIN-1 http://DOMAIN-1/Content-for-Domain-2 but not just a simple redirect, it should ...
2
votes
2answers
3k views

nginx redirect to another domain not forgetting about the subdomains

this is rather a quick one: How do I redirect to another domain and still forward the subdomain? Example: http://foo.domainone.com/bar.php -> http://foo.domaintwo.com/bar.php Thanks in advance!
1
vote
2answers
433 views

Point root domain to another TLD's subdomain (via DNS, not masking)

I've found some similar answers to this question but was hoping someone could clarify in case I'm misunderstanding. This is hosted on IIS 7 in ASP.NET On my site, I have root and www domains going to ...
0
votes
1answer
65 views

implement domain mapping

I am working on a site which can have user portfolios. The url we want to use is abc.mysite.com. We want to give users to be able to purchase a domain name from us (we can integrate our system ...
0
votes
3answers
373 views

Rewrite example.com to www.example.com [duplicate]

I want to rewrite urls to the www subdomain if the user omits it, i.e. example.com/something.html to www.example.com/something.html The config below doesn't work, user remains on example.com. There's ...
0
votes
3answers
132 views

Allowing users to use their domain name to their profile?

I have a web site / app where each user as a profile i.e.: mydomain.com/user1 mydomain.com/user2 mydomain.com/user3 etc How do I allow it so that a user can use their own domain name to go to their ...
3
votes
1answer
824 views

Apache mod-rewrite rule to change subdomain.domain.tld to domain.tld/subdomain

What would the rewrite rule be to change subdomain.domain.tld to domain.tld/subdomain? Or should I look at a VirtualServer directive to take subdomain.domain.tld and serve it from a DocRoot that ...
2
votes
4answers
504 views

How would I go about getting a domain like lu.re?

(*couldn't decide if this belongs in stackoverflow or here, but landed here. so if this Q belongs elsewhere I'll remove it) How do I go about getting a domain like lu.re? I work for a non-profit and ...
0
votes
3answers
95 views

Serving multiple domains from a third party website

I am wondering how sites like Google sites and shopify allow customers to create a website and then link it to their own domain?. Google sites allow a user to create their own website, at a user ...
1
vote
2answers
178 views

Redirecting with mask from one host to the other

I have a domain abc123.com and a second domain def456.com. I've setup def456.com/forum. However I want users to goto and only see forum.abc123.com. The forum is SMF. Could anyone point me in the ...
0
votes
3answers
405 views

one domain name, two servers

Goodmorning. Because my client wants to keep an old server (running php-fusion) running under the same domain name as a new server (running Drupal) I have a question. Is this possible? And most ...