I have one apache server that runs wordpress blog and I registered one domain for it. Basically, the domain works fine, the domain can be accessed directly. But I found that the sub-folder php files i cannot access directly. For example, each URL like "abc.com/wp-admin/post-new.php" is not accessible, but ip address is ok. If i access URL thur ip address like "1.2.3.4/wp-admin/post-new.php", it's fine. So I don't know where the problem is?
Another question is about facebook cannot fetch the blog content if the URL is domain. For example, if I type URL "abc.com" facebook cannot fetch the blog's content, but when I change the domain to ip address such as "1.2.3.4/", it's ok.
Could anyone give me suggestion? Thanks in advance.
Related
I had a domain name called: http://p2pproductions.in
Which expired a few months back since we are moving to a new site.
I have downloaded the Site files and Database scripts.
I wanted to log in to the existing WP dashboard but since the domain is expired I have no way to login to it.
You will need to edit your local computer's hosts file. This will make your browser to locally resolve the domain to the IP that it was previously hosted on.
The file is usually present in
Windows: C:\Windows\System32\Drivers\etc\hosts.
Linux: /etc/hosts
Mac: /etc/private/hosts OR /etc/hosts
In there you need to find your cPanel's IP, then append the line
IP www.domain.com domain.com
7.7.7.7 www.p2pproductions.in p2pproductions.in
After that save and close your hosts file, clear your browser's cache and access your site again - you will resolve it from your cPanel account.
Alternatively you can also use the same manner by visiting https://hosts.cx/ - in the Server Address enter your cPanel account's IP and in the Website name - p2pproductions.in
You have to access to your database and change the URL at the wp_option(instead of wp_, maybe you are using another prefix) table.
The field name you have to change is siteurl.
P.D: If you are at localhost, change it to localhost (also take a look if you're using a port, like 8080).
I bought a Tld from godaddy
I linked my tld to my App URL by method (redirect with masking)
It is no problem with Redirection but in the address bar is displayed my App url and not the tld
I am not quite sure how Godaddy implements "domain masking". I guess your site get's loaded in an iframe then. That's most likely not what you want (quirky + bad SEO). Instead of forwarding you can point the domain to the App with a CNAME record to your Apps name. Please see the Goddady help how to do that. On fortrabbit the "custom domain" must be registered with the service to receive requests.
I recently bought a domain name from Names.co.uk.
My home internet has Dynamic IP and I want to link this ip with my domain name.
Is there a way?
PS: I have a No-Ip.org account as well..
will this help to set everything together?
Thank you all for any help or advice
Kind regards
Yiannis
Can I Use My Own Domain Name with No-IP?
Upgrading to No-IP Plus Managed DNS lets you use your own domain
name(s) with No-IP.
To add your own domain visit our Managed DNS services page. You’ll be
prompted to add the domain name(s) that you want added to our system.
Pricing for this service can be found on our pricing page.
I manage a hosting server using WHM. I have two cPanel accounts on this server, one for exampletest.com (account name is exampletest) and one for example.com (account name example). We have a Wordpress site that was working well at exampletest.com but we keep running into problems when we try to migrate it to example.com. I believe it has to do with one WordPress plugin that doesn't migrate well.
So we had the idea to simply take the example.com domain and point it to the exampletest cPanel account, then update the domain for WordPress in the database. However, one potential issue I can see is that we have many active email addresses on the example account. I fear that associating the example.com domain to the exampletest account will break the email addresses.
Keeping the above in mind, I have a couple questions:
Will associating the example.com domain to the exampletest account break the emails? If so, is there a workaround (moving the email addresses to the new account somehow?)
Is there a better way to go about doing this that I'm not thinking of?
The best way of transferring your wordpress site would be to copy the files, create a database user with the same login details and import the database. Wordpress shouldn't be able to tell the difference.
One way would be to assign a static IP address to exampletest and point example.com's A record to that IP.
Due to the way WHM's DNS and port binding is set up it will not let you set up the same domain on two seperate accounts.
You could treat www. as a seperate subdomain and add the subdomain www.example.com to exampletest as an addon domain and remove the www A record from example first. Redirect all web traffic from example.com to www.example.com or use another sub-domain such as www2.
Another option would be transfer the emails, you can either use the transfer tools in WHM > Transfers or use http://imapsync.lamiral.info/
i am going to create some sub-domains on my website.
when i create a sub-domain i must define a directory that sub-domain will refer to newly created sub-domain. but i want a different solution.
i want to detect when a user enters a URL , which sub-domain is used and then do some operation for each special sub-domain.
for example if website user entered a.mysite.com
i extract "a" sub-domain from URL and then without redirecting webpage i load some data in page.
please help me how i do these,on both web-server and localhost?
In general your application doesn't care about the host name, so you have to configure your IIS to handle all requests.
Production only: Create a wildcard DNS record for your domain (e.g. *.domain.tld)
Your IIS site should have no explicit bindings, so that ALL incoming requests hit this application (other sites should still work fine!).
After this you can check the HttpContext.Current.Request.Url and extract the requested subdomain.