  The gravitational impact inside and outside of a domain wall is studied in
the context of $f(R)$ gravity theory. The function $f(R)$ is found which
satisfies the stability conditions. Our results imply that the domain wall may
cause topological inflation.
