pointing domain to wildcard sub sub domain - wordpress

I have a multisite wordpress install at plataforma.vendamais.pt
And I have a wildcard for *.plataforma
So all new sites created have this url:
client01.plataforma.vendamais.pt
client02.plataforma.vendamais.pt
and so on.
I need to connect my client's domains to the correspondent website, so the url client01.plataforma.vendamais.pt wont be visible.
As a real case, I have a client's website here:
www.tancredoferrari.plataforma.vendamais.pt/
I need to have his domain tancredoferrari.pt pointing to that address, so his clients will navigate using tancredoferrati.pt and wont see any of the www.tancredoferrari.plataforma.vendamais.pt url.
Is it possible?

There's 2 options here:
Option 1
An CNAME record on the live domain's DNS should be sufficient to do this - so long as you're happy that the resource requests (images, scripts, styles and so forth) behind the scenes are going to the staging domain URLS (client02.plataforma.vendamais.pt and so forth).
Option 2
Check out the wordpress plugin WordPress MU Domain Mapping. With that you can map the site to multiple domains (and set the primary), which is a better approach.

Related

Wordpress Multisite - Mapping Multiple Domain Names - As Primary

Alright, the primary domain is: gdengines.com. I also own .net & .org. I want it so if a user types in .net or .org it will display the primary domains contents. However, the LINKS will be for that URL (the easiest way to explain this is by using the following plugin as an example:
Multiple Domain (plugin page) - Multiple Domain allows you having more than one domain in a single WordPress installation. When there is more than one domain set in your host, all links and resources will point to the default domain. This is
the default WordPress behavior. With Multiple Domain installed and properly configured, it’ll update all link on the
fly. This way, the user navigation will be end-to-end under the same domain.
However, the plugin doesn't work with multisite installations.
I have WordPress MU Domain Mapping installed, but it's not helping for this issue.
Anyone know a fix other than setting up .net & .org to redirect?
You can use on the other domains .htaccess file with.
Redirect 301 / http://www.your-url.com
If you have to on each domain then redirect the vistor automatic to your main domain.

Used CloudFormation to create Wordpress blog but domain doesn't show up properly

I used AWS CloudFormation to create a Wordpress blog and then bought a domain from GoDaddy website and forwarded it to the domain name provided by CloudFormation
-->godaddy domain: yetanotherdeveloper.in
-->cloudformation domain: "ec2-35-154-134-194.ap-south-1.compute.amazonaws.com/wordpress/"
Problem 1:
When I search GoDaddy domain in the URL, I get to the site but then only CloudFormation domain is shown in the URL. I want the GoDaddy domain to be there.
When I open a post, before the slash in the URL, cloudformation domain is shown.(e.g. ec2-35-154-134-194.ap-south-1.compute.amazonaws.com/wordpress/index.php**/2017/09/27/hello-world/**) .I want godaddy domain to be there for ease of access for others.
Problem 2:
Cloudformation uses a public IP which could be dangerous in future in case the server gets down etc. So, i want to change the IP to elastic IP too.
This is after the site is loaded,i get old domain shown
This is when i open some other page or in this case, a post. Here also old domain
one last thing, i hope i'm not wasting much time of yours. If i am, it would be great to point out what i did wrong in this question and i will improve next time.
Thank you!
Regarding the URL, you need to set the root URL on the WordPress configuration to http://yetanotherdeveloper.in, and regarding Elastic IP, you need to update the Cloudformation template to create an EIP and link it to the created instance.
Best regards.
You will likely need to change your site URL in the WordPress configuration:
On the Settings->General screen in a single site installation of
WordPress, there are two fields named "WordPress Address (URL)" and
"Site Address (URL)". They are important settings, since they control
where WordPress thinks your site is located. They control the display
of the URL in the admin section of your page, as well as the front
end, and are used throughout the WordPress code.

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!

What Cloudflare page rules should be added for a WordPress website to run on HTTPS naked (non www) URLs only?

Here is the existing configuration of my site:
I have a CNAME record www to example.com in Cloudflare DNS settings.
Nothing in .htaccess of the original host server.
WordPress site has its Website and Home address set to http://example.com
I don't have a clear understanding of what Cloudflare does and how it integrates with WordPress. However, I would like to achieve this without making any changes in WordPress. What DNS and Page Rules combo should I configure in order to serve all the URLs ONLY over https without www?
Based on this answer here, I tried changing my DNS settings but it didn't work. And I can't get my head around Cloudflare Page Rules.
In order to accomplish this you should create two Page Rules. One that redirects all traffic to https, and another that directs all www traffic to the root domain.
You can find directions for these Page Rules on this KB article (they are the first two). Or there is a video tutorial as well. If you are already maxed out on Page Rules there is also an option now to purchase additional rules without changing plans.
(I'm from Cloudflare)

Changing the Domain for Wordpress Install

I have a domain, www.mysite.com, which is registered at NETWORK SOLUTIONS, LLC. and currently points to a hosted page at a 3rd party.
I have created a new wordpress page on Hostgator, and I created it using the domain www.mysite.biz.
I want to now point www.mysite.com to the new page on hostgator but without redirecting.
I believe what I need to do is:
change the www record on Network Solutions to the IP address on Hostgator.
I believe There is a plugin I can us to change the domain for all of the wordpress database.
Are these the correct steps? What is the plugin name I can use to change the domain?
Here is a plugin I've used to change a domain name in wordpress. https://wordpress.org/plugins/go-live-update-urls/
When you say you want to point www.mysite.com to your new wordpress site "without redirecting", are you saying you want to use www.mysite.com as the new domain name? If so, you're going to want to go into your account with NETWORK SOLUTIONS, LLC and enter in hostgator's nameservers. See here: Network Solution Link and here: Hostgator Link

Resources