Wordpress using differet domain - wordpress

Hello I have the following environment:
Domain A (redirect to domain B) Apache server
Domain B (separate web server where is installed Wordpress) Apache server
So if I digit the url of domain A I see the homepage of Wordpress site.
My problem is that if I click any link in the website I will be redirected to the Domain B because the site use the permalink of the wordpress installation.
Is there any chance to use the domain A name as base URL?
thanks

sorry - this question is not clear. Did you migrate the site? Or are you making a copy? Are those domains different - or maybe subdomains. Maybe try to share those domains if they are live. Hard to help if it's not clear what the question is about.

I have installed wordpress under the domain:
www.domain-a.com
I have another domain:
www.domain-b.com
that is configured to point to every single page of domain-a
so if I point to URL: www.domain-b/example-page I can see correctly the wordpress page. My problem is that if I click on every link inside this page the permalink is cofigured for domain-a so I will be redirect to the url domain-a. I need to stay always inside the domain-b url.
Is there any wordpress configuration that I can do to solve it?
I cannot reproduce the environment because is under a VPN.
Thanks

Related

Add sites in subdomain and not under wordpress multisite subdomain

I'm confused, I have a miltisite wordpress installation but also another site managing the customer areas.
So I have the site on the main domain www.domaine.com and i installed the wordpress multisite in a subdomain: sites.domain.com
So far everything is fine, but when I want to create a site, wordpress requires me to be subject to the subdomain like this: other.site.domain.com
I tried to modify the .htaccess and wp-config.php but when I go back to the site management it redirects me to www.domaine.com without my being able to access the wordpress multisite management...
How can I create sites with addresses under the domain and not under the subdomain like this:
other.domain.com and not like this other.site.domain.com
Thanks
It's ok, I can't access for two reasons.
One my wildcard is set on other folder than wp installation (blank page on subsite create)
Two I need to set address of new site for replace domain.com/other to other.domain.com
And now I can access to website and subsite.
Thank!
Thank you for your answer, I just tested but it does not react correctly.
When I put the configuration of DOMAIN_CURRENT_SITE on domaine.com I can no longer access the settings of the multisite network, I am redirected to the purchase site which is on the domain.
Another thing, if I therefore create a site in a subdirectory and not in a subdomain with the SUBDOMAIN_INSTALL configuration false, when I type test.domaine.com a blank page appears as if there was no site or if I Type site.domain.com/test/ it works.
I cleared the caches everywhere and tried again but nothing happened.
In case I expressed myself badly,
www.domain.com = The commercial site of the company
site.domain.com = Multisite management and sample site
other1.domain.com = Customer site created from site.domain.com
thanks again

How the subdomain keep the full url of the url that it is redirecting to?

I am not sure about the title of my question so let me an explain the situation with example:
I have a wordpress website at: wwww.mywebsite.com
(DNS: Godaddy, hosted on Azure, SSL enabled)
I setup a forum website hosted on another Azure account with a url like: myforum.azurewebsites.net
I want to have a subdomain "forum" (forum.mywebsite.com) to redirect to the forum website. I managed to achieve the redirection by using Godaddy subdomain settings. I also enabled the masking so the user see the forum.mywebsite.com on the browser.
The problem is that the forum url does not show the subfolders url. For instance if someone wants to login, the user should see: forum.mywebsite.com/login but the user only sees: forum.mywebsite.com
How can I achieve the redirection in a way that the url keeps the subfolder path as well.
You will want to set the custom domain on Azure which will require you to create a CNAME record in your DNS on Godaddy for forum.mywebsite.com that has the value of myforum.azurewebsites.net

Mapping elastic beanstalk (wordpress blog) to subdomain

So I have set up my static website via S3 and have attached it to my domain example.com.
Then, I have launched a separate wordpress blog via Elastic Beanstalk, let's say exampleblog.us-west-2.elasticbeanstalk.com.
I have already configured my CNAME settings in Route 53 such that blog.example.com maps to my elastic beanstalk site (exampleblog.us-west-2.elasticbeanstalk.com), except, once I start clicking around on the blog itself, the URLs all become exampleblog.us-west-2.elasticbeanstalk.com/NAME-OF-PAGE
How do I get a complete subdomain redirect? i.e., I want all of the pages in my blog to be in the form blog.example.com/NAME-OF-PAGE
Thanks!
Okay -- I have actually figured this out myself so just will share in case anyone else has the same question:
It's really simple - You just need to access Wordpress > Settings > General and then update your site address (URL) to your subdomain (in my case, blog.example.com).
Boom!

Point DNS to Squarespace Except for a Specific Subdirectory

My client is moving their site to SquareSpace, but wants to keep the blog portion hosted in WordPress. I'm not sure what their current hosting plan is, but is it generally possible to point "example.com" to SquareSpace, and have "example.com/blog" still exist as a WordPress site?
Thank you!
This can't be done solely through DNS as DNS is ignorant of the path and works only with the domain name. The only way to do this through DNS would be to move the blog from example.com/blog to blog.example.com, then the website can be located on one service at example.com and the blog can still be located on wordpress at blog.example.com.

DNS_PROBE_FINISHED_NXDOMAIN Subdomain and Domain Issue

I have a basic wordpress website with a few simple plugins such as gravityforms etc. For the sake of this question the site has a domain of domain.com
To manage user input we have another system on a subdomain, sub.domain.com
Some users are intermittently receiving the following error 'DNS_PROBE_FINISHED_NXDOMAIN' whether that be on the domain or subdomain.
Is it possible that this issue is an issue on one of domain.com or sub.domain.com and the users browser shows errors with both purely because the urls have the same domain?
Add wildcard DNS on cpanel. You can create wildcard dns following instruction on the below.
http://www.webhostinghub.com/help/learn/cpanel/manage-domains/how-to-set-up-wildcard-subdomains

Resources