Wordpress Discussion
Out of context: Reply #136
- Started
- Last post
- 174 Responses
- oey_oey0
I have a client for whom I've made Wordpress site using using domain (domain a) which consists of client's name
Client purchased a new domain (domain b) that is the name of their business and ask me to redirect second domain to first.
A couple of days ago client asked to upgrade the web hosting to have more disk space.
So far so good.
The next day when i typed domain a in the URL it showed the hosting address!
I typed domain b and the same happened.
To make things worse, as I couldn't install Let's Encrypt in the hosting address but only in individual domains it shows that the address is risky.
I wrote to the hosting company to ask what had happened and they wrote back:
"Your WordPress installation is displayed under the hosting address because both domains point to the same folder (httpdocs). As a result, both are linked to the WordPress installation. To fix the problem now, you would have to reinstall the Wordpress and before that assign both domains to their own folder. If you install an SSL certificate at the hosting domain, the certificate error should no longer occur."
My question is how to I assign both domains to their own folder?
Do i create a folder with the name of the domain for each domain in the root?
Aargh! This was not happening before!!!
- you can't point 2 domain names to the same location. You point one and the other will just redirect the that one.dbloc
- I really can't understand why it was working and suddenly it's an issue.oey_oey
- Who is the domain registrar. They should be able to help you get it set up correctly.dbloc
- yes I know that they will redirect. it's supposed too. or am I missing something?oey_oey
- the domain registrar just wrote that. I thought they would just repair it in the sense of making it the way it was before.oey_oey
- but I'm half way there already. I found out that domain b was not redirecting anymore but was showing as a different website.oey_oey
- please don't ask me how that happened, I didn't change a thing except for the upgrade.oey_oey
- main domain (a) is working again properly and domain b redirects to a but I have a small error notice in plesk.oey_oey
- sounds like you got it all fixed up.dbloc
- i create a folder for domain b and updated Wordpress in domain a. then I change the folder for domain b and instead of web-hosting i changed it to redirect.oey_oey
- I thought i was lost here. still don't eget what happened and I cant delete the error notice. it keeps popping up despite I delete the folder I created.oey_oey
- but it works, thanks!oey_oey
- I guess I was spoiled by DreamHost. Support is simply awesome. They tell what's going on and why and repair it.oey_oey
- You can point as many domains as you want into the same location. These things depend on the server configuration and dns settings.********