This paper is about a two-bidder auction setting with endogenous and costly entry in which, before the bidders' entry decisions, the seller may release information about the object on sale. This information affects each bidder's belief about the own distribution of value for the object on sale, hence it affects the bidder's incentive to enter. The seller uses a second price auction and we consider the class of unrestricted information structures using the techniques of information design in which the seller sends private messages to the bidders. We characterize the optimal information structure, which optimally trades off providing rents to the bidders in favorable (to the bidders) states of the world against inducing entry of all bidders in other states of the world (in order to generate a positive auction revenue). We compare the optimal information structure with some specific information structures examined in the literature and then show that a restriction to public messages hurts the seller significantly. We also show that using a first price auction allows the seller to earn the same revenue as when a second price auction is used. We then allow the seller to use an entry fee and jointly optimize, under some restrictions, with respect to the entry fee and the information structure. In this case the seller does not need to induce entry of all bidders to earn a positive revenue, and indeed induces entry of a single bidder, who is required to pay a high entry fee, if the entry cost is not small. But if the seller can also use a reserve price, then it is optimal to (almost) fully subsidize the entry cost and use the reserve price to extract all the bidders' rents while inducing the socially optimal entry.