Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Mar 07, 2015 7:49 pm 
Offline
Senior Newbie

Joined: Sat Mar 07, 2015 7:44 pm
Posts: 7
Hi guys,

I'm trying to setup Domain Mapping for a Wordpress Multisite, but it doesn't seem to work. I have added the A name records correctly for the domain I wish to add in domain mapping.

Example:

I run a multisite with this blog:
blog.mysite.com

I purchased domain.com
Set A records for domain.com to be my linode server IP

Add the domain with the wordpress domain mapping setting - doesn't work. It directs to my the IP correctly. But that only displays the default ubuntu page.

For this reason I believe, the problem is that the my linode IP isn't directly pointed at "mysite.com" ?

Any help?


Top
   
PostPosted: Sat Mar 07, 2015 8:13 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Sure, seems plausible. Could be anything.

What are the actual hostnames and IP addresses?

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
PostPosted: Sun Mar 08, 2015 5:59 am 
Offline
Senior Newbie

Joined: Sat Mar 07, 2015 7:44 pm
Posts: 7
Postify.org and 104.200.18.98


Top
   
PostPosted: Sun Mar 08, 2015 8:23 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Looks OK from here. I get a "Start your own blog" page at http://postify.org/, and postify.org is pointed at that IP address, and that is a Linode IP address.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
PostPosted: Sun Mar 08, 2015 8:26 am 
Offline
Senior Newbie

Joined: Sat Mar 07, 2015 7:44 pm
Posts: 7
Yes that I also know :)

However - If I put in the IP address in the browser. I get a default ubuntu page. Should that be like that?

The thing is, when I use domain mapping and point A records of the new domain, it goes to that default ubuntu page and doesn't go to the mapped blog site.


Top
   
PostPosted: Mon Mar 09, 2015 2:34 pm 
Offline
Senior Newbie

Joined: Tue Feb 07, 2012 10:03 pm
Posts: 6
Location: Salt Lake City
Yes, if you use http://104.200.18.98, that is different from http://postify.org, even if it is hosted at that IP address. This is by design.

It has been around for a long time (since HTTP/1.1 was introduced). It allows more than one virtual website to be hosted on the same IP address. HTTP/1.1 uses the Host: parameter to select which website to serve.

Typical ways to handle this situation include:
* Redirect the user's browser to the primary website on the IP address
* Present a list of websites on the IP address and have the user select one
* Point both sites to the same DocumentRoot folder
* Present an error message (404 or "ambiguous")


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group